==> Building on torracat ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/step-ca ./ PKGBUILD 1,160 100% 0.00kB/s 0:00:00 1,160 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) step-ca-0.23.1-1.log 242 100% 236.33kB/s 0:00:00 242 100% 236.33kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,103 bytes received 96 bytes 2,398.00 bytes/sec total size is 1,355 speedup is 1.13 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 141 100% 0.00kB/s 0:00:00 141 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 230 bytes received 38 bytes 536.00 bytes/sec total size is 141 speedup is 0.53 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix1]...done ==> Making package: step-ca 0.23.1-1 (Thu Jan 26 02:55:53 2023) ==> Retrieving sources...  -> Downloading step-ca_0.23.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 36 735k 36 271k 0 0 137k 0 0:00:05 0:00:01 0:00:04 293k 100 735k 100 735k 0 0 343k 0 0:00:02 0:00:02 --:--:-- 670k ==> Validating source files with sha512sums... step-ca_0.23.1.tar.gz ... Passed ==> Making package: step-ca 0.23.1-1 (Thu Jan 26 02:56:27 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change Download Size community/pcsclite 1.9.9-2 0.25 MiB 0.09 MiB Total Download Size: 0.09 MiB Total Installed Size: 0.25 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... pcsclite-1.9.9-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing pcsclite... Optional dependencies for pcsclite python: API call trace logging with the pcsc-spy ccid: USB Chip/Smart Card Interface Devices driver [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change community/go 2:1.19.5-1 434.82 MiB Total Installed Size: 434.82 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing go... [?25h==> Retrieving sources...  -> Found step-ca_0.23.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting step-ca_0.23.1.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... go: downloading go.step.sm/cli-utils v0.7.5 go: downloading go.step.sm/crypto v0.23.1 go: downloading golang.org/x/crypto v0.5.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/urfave/cli v1.22.10 go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e go: downloading github.com/manifoldco/promptui v0.9.0 go: downloading github.com/aws/aws-sdk-go v1.44.132 go: downloading cloud.google.com/go/kms v1.6.0 go: downloading github.com/googleapis/gax-go/v2 v2.7.0 go: downloading google.golang.org/api v0.106.0 go: downloading google.golang.org/grpc v1.51.0 go: downloading cloud.google.com/go v0.107.0 go: downloading github.com/go-piv/piv-go v1.10.0 go: downloading github.com/ThalesIgnite/crypto11 v1.2.5 go: downloading github.com/smallstep/nosql v0.5.0 go: downloading go.step.sm/linkedca v0.19.0 go: downloading google.golang.org/protobuf v1.28.1 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 go: downloading cloud.google.com/go/security v1.11.0 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/hashicorp/vault/api v1.8.2 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d go: downloading golang.org/x/net v0.5.0 go: downloading github.com/Azure/azure-sdk-for-go v67.0.0+incompatible go: downloading github.com/Azure/go-autorest/autorest v0.11.28 go: downloading github.com/Azure/go-autorest v14.2.0+incompatible go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0 go: downloading filippo.io/edwards25519 v1.0.0 go: downloading cloud.google.com/go/iam v0.8.0 go: downloading google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef go: downloading github.com/miekg/pkcs11 v1.1.1 go: downloading github.com/thales-e-security/pool v0.0.2 go: downloading github.com/slackhq/nebula v1.6.1 go: downloading github.com/micromdm/scep/v2 v2.1.0 go: downloading github.com/smallstep/pkcs7 v0.0.0-20221024180420-e1aab68dda05 go: downloading github.com/Masterminds/sprig/v3 v3.2.3 go: downloading github.com/golang/protobuf v1.5.2 go: downloading cloud.google.com/go/longrunning v0.4.0 go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading github.com/cenkalti/backoff/v3 v3.0.0 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading github.com/hashicorp/go-retryablehttp v0.6.6 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 go: downloading github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/hashicorp/vault/sdk v0.6.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/hashicorp/vault/api/auth/approle v0.3.0 go: downloading golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba go: downloading github.com/hashicorp/vault/api/auth/kubernetes v0.3.0 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0 go: downloading github.com/mattn/go-colorable v0.1.8 go: downloading github.com/Azure/go-autorest/logger v0.2.1 go: downloading github.com/Azure/go-autorest/tracing v0.6.0 go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.18 go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.5 go: downloading github.com/dimchansky/utfbom v1.1.1 go: downloading github.com/russross/blackfriday/v2 v2.0.1 go: downloading github.com/jmespath/go-jmespath v0.4.0 go: downloading golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 go: downloading cloud.google.com/go/compute/metadata v0.2.3 go: downloading go.opencensus.io v0.24.0 go: downloading golang.org/x/text v0.6.0 go: downloading cloud.google.com/go/compute v1.14.0 go: downloading github.com/go-kit/kit v0.10.0 go: downloading github.com/dgraph-io/badger v1.6.2 go: downloading github.com/dgraph-io/badger/v2 v2.2007.4 go: downloading go.etcd.io/bbolt v1.3.6 go: downloading github.com/go-sql-driver/mysql v1.6.0 go: downloading github.com/jackc/pgx/v4 v4.17.2 go: downloading golang.org/x/sys v0.4.0 go: downloading github.com/Masterminds/goutils v1.1.1 go: downloading github.com/Masterminds/semver/v3 v3.2.0 go: downloading github.com/huandu/xstrings v1.3.3 go: downloading github.com/imdario/mergo v0.3.12 go: downloading github.com/mitchellh/copystructure v1.2.0 go: downloading github.com/shopspring/decimal v1.2.0 go: downloading github.com/spf13/cast v1.4.1 go: downloading github.com/rs/xid v1.4.0 go: downloading github.com/sirupsen/logrus v1.9.0 go: downloading github.com/newrelic/go-agent/v3 v3.20.2 go: downloading github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 go: downloading github.com/hashicorp/go-hclog v0.16.2 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 go: downloading github.com/mattn/go-isatty v0.0.13 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/golang-jwt/jwt/v4 v4.2.0 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/google/go-cmp v0.5.9 go: downloading github.com/dgraph-io/ristretto v0.1.0 go: downloading github.com/dustin/go-humanize v1.0.0 go: downloading github.com/go-logfmt/logfmt v0.5.1 go: downloading github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 go: downloading github.com/jackc/pgconn v1.13.0 go: downloading github.com/jackc/pgio v1.0.0 go: downloading github.com/jackc/pgproto3/v2 v2.3.1 go: downloading github.com/jackc/pgtype v1.12.0 go: downloading github.com/mitchellh/reflectwalk v1.0.2 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.1 go: downloading github.com/ryanuber/go-glob v1.0.0 go: downloading github.com/fatih/color v1.9.0 go: downloading github.com/hashicorp/go-plugin v1.4.5 go: downloading github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 go: downloading github.com/hashicorp/go-uuid v1.0.2 go: downloading github.com/hashicorp/go-version v1.2.0 go: downloading github.com/armon/go-metrics v0.3.9 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading go.uber.org/atomic v1.9.0 go: downloading github.com/armon/go-radix v1.0.0 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/pierrec/lz4 v2.5.2+incompatible go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 go: downloading github.com/cespare/xxhash v1.1.0 go: downloading github.com/klauspost/compress v1.15.11 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/golang/glog v1.0.0 go: downloading github.com/jackc/chunkreader/v2 v2.0.1 go: downloading github.com/jackc/pgpassfile v1.0.0 go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b go: downloading github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb go: downloading github.com/oklog/run v1.0.0 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 go: downloading github.com/Azure/go-autorest/autorest/validation v0.3.1 go: downloading github.com/Azure/go-autorest/autorest/to v0.4.0 ==> Starting check()... go: downloading github.com/smallstep/assert v0.0.0-20200723003110-82e2b9b3b262 go: downloading github.com/stretchr/testify v1.8.1 go: downloading github.com/golang/mock v1.6.0 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/davecgh/go-spew v1.1.1 === RUN TestKeyToID === RUN TestKeyToID/fail/error-generating-thumbprint === RUN TestKeyToID/ok --- PASS: TestKeyToID (0.05s) --- PASS: TestKeyToID/fail/error-generating-thumbprint (0.04s) --- PASS: TestKeyToID/ok (0.00s) === RUN TestAccount_IsValid === RUN TestAccount_IsValid/valid === RUN TestAccount_IsValid/invalid --- PASS: TestAccount_IsValid (0.00s) --- PASS: TestAccount_IsValid/valid (0.00s) --- PASS: TestAccount_IsValid/invalid (0.00s) === RUN TestExternalAccountKey_BindTo === RUN TestExternalAccountKey_BindTo/ok === RUN TestExternalAccountKey_BindTo/fail/already-bound --- PASS: TestExternalAccountKey_BindTo (0.00s) --- PASS: TestExternalAccountKey_BindTo/ok (0.00s) --- PASS: TestExternalAccountKey_BindTo/fail/already-bound (0.00s) === RUN TestAuthorization_UpdateStatus === RUN TestAuthorization_UpdateStatus/ok/expired === RUN TestAuthorization_UpdateStatus/fail/db.UpdateAuthorization-error === RUN TestAuthorization_UpdateStatus/ok/no-valid-challenges === RUN TestAuthorization_UpdateStatus/ok/valid === RUN TestAuthorization_UpdateStatus/ok/already-invalid === RUN TestAuthorization_UpdateStatus/ok/already-valid === RUN TestAuthorization_UpdateStatus/fail/error-unexpected-status --- PASS: TestAuthorization_UpdateStatus (0.01s) --- PASS: TestAuthorization_UpdateStatus/ok/expired (0.00s) --- PASS: TestAuthorization_UpdateStatus/fail/db.UpdateAuthorization-error (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/no-valid-challenges (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/valid (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/already-invalid (0.00s) --- PASS: TestAuthorization_UpdateStatus/ok/already-valid (0.00s) --- PASS: TestAuthorization_UpdateStatus/fail/error-unexpected-status (0.00s) === RUN Test_storeError === RUN Test_storeError/fail/db.UpdateChallenge-acme-error === RUN Test_storeError/ok === RUN Test_storeError/ok/mark-invalid === RUN Test_storeError/fail/db.UpdateChallenge-error --- PASS: Test_storeError (0.00s) --- PASS: Test_storeError/fail/db.UpdateChallenge-acme-error (0.00s) --- PASS: Test_storeError/ok (0.00s) --- PASS: Test_storeError/ok/mark-invalid (0.00s) --- PASS: Test_storeError/fail/db.UpdateChallenge-error (0.00s) === RUN TestKeyAuthorization === RUN TestKeyAuthorization/fail/jwk-thumbprint-error === RUN TestKeyAuthorization/ok --- PASS: TestKeyAuthorization (0.02s) --- PASS: TestKeyAuthorization/fail/jwk-thumbprint-error (0.00s) --- PASS: TestKeyAuthorization/ok (0.01s) === RUN TestChallenge_Validate === RUN TestChallenge_Validate/ok/dns-01 === RUN TestChallenge_Validate/ok/tls-alpn-01 === RUN TestChallenge_Validate/ok/tls-alpn-01-insecure === RUN TestChallenge_Validate/ok/already-valid === RUN TestChallenge_Validate/fail/already-invalid === RUN TestChallenge_Validate/fail/http-01 === RUN TestChallenge_Validate/ok/http-01-insecure === RUN TestChallenge_Validate/fail/unexpected-type === RUN TestChallenge_Validate/ok/http-01 === RUN TestChallenge_Validate/fail/dns-01 === RUN TestChallenge_Validate/fail/tls-alpn-01 --- PASS: TestChallenge_Validate (22.17s) --- PASS: TestChallenge_Validate/ok/dns-01 (0.00s) --- PASS: TestChallenge_Validate/ok/tls-alpn-01 (7.13s) --- PASS: TestChallenge_Validate/ok/tls-alpn-01-insecure (15.03s) --- PASS: TestChallenge_Validate/ok/already-valid (0.00s) --- PASS: TestChallenge_Validate/fail/already-invalid (0.00s) --- PASS: TestChallenge_Validate/fail/http-01 (0.00s) --- PASS: TestChallenge_Validate/ok/http-01-insecure (0.00s) --- PASS: TestChallenge_Validate/fail/unexpected-type (0.00s) --- PASS: TestChallenge_Validate/ok/http-01 (0.00s) --- PASS: TestChallenge_Validate/fail/dns-01 (0.00s) --- PASS: TestChallenge_Validate/fail/tls-alpn-01 (0.00s) === RUN TestHTTP01Validate === RUN TestHTTP01Validate/ok/http-get-error === RUN TestHTTP01Validate/ok/http-get->=400 === RUN TestHTTP01Validate/ok/key-auth-mismatch === RUN TestHTTP01Validate/fail/http-get-error-store-error === RUN TestHTTP01Validate/fail/http-get->=400-store-error === RUN TestHTTP01Validate/fail/read-body === RUN TestHTTP01Validate/fail/key-auth-gen-error === RUN TestHTTP01Validate/fail/key-auth-mismatch-store-error === RUN TestHTTP01Validate/fail/update-challenge-error === RUN TestHTTP01Validate/ok --- PASS: TestHTTP01Validate (0.03s) --- PASS: TestHTTP01Validate/ok/http-get-error (0.00s) --- PASS: TestHTTP01Validate/ok/http-get->=400 (0.00s) --- PASS: TestHTTP01Validate/ok/key-auth-mismatch (0.01s) --- PASS: TestHTTP01Validate/fail/http-get-error-store-error (0.00s) --- PASS: TestHTTP01Validate/fail/http-get->=400-store-error (0.00s) --- PASS: TestHTTP01Validate/fail/read-body (0.00s) --- PASS: TestHTTP01Validate/fail/key-auth-gen-error (0.00s) --- PASS: TestHTTP01Validate/fail/key-auth-mismatch-store-error (0.00s) --- PASS: TestHTTP01Validate/fail/update-challenge-error (0.01s) --- PASS: TestHTTP01Validate/ok (0.00s) === RUN TestDNS01Validate === RUN TestDNS01Validate/fail/lookupTXT-store-error === RUN TestDNS01Validate/ok/lookupTXT-error === RUN TestDNS01Validate/fail/key-auth-gen-error === RUN TestDNS01Validate/fail/key-auth-mismatch-store-error === RUN TestDNS01Validate/ok/key-auth-mismatch-store-error === RUN TestDNS01Validate/fail/update-challenge-error === RUN TestDNS01Validate/ok --- PASS: TestDNS01Validate (0.02s) --- PASS: TestDNS01Validate/fail/lookupTXT-store-error (0.00s) --- PASS: TestDNS01Validate/ok/lookupTXT-error (0.00s) --- PASS: TestDNS01Validate/fail/key-auth-gen-error (0.00s) --- PASS: TestDNS01Validate/fail/key-auth-mismatch-store-error (0.00s) --- PASS: TestDNS01Validate/ok/key-auth-mismatch-store-error (0.01s) --- PASS: TestDNS01Validate/fail/update-challenge-error (0.01s) --- PASS: TestDNS01Validate/ok (0.00s) === RUN TestTLSALPN01Validate === RUN TestTLSALPN01Validate/fail/tlsDial-store-error === RUN TestTLSALPN01Validate/ok/error-no-protocol 2023/01/26 03:23:16 http: TLS handshake error from 127.0.0.1:36704: tls: client requested unsupported application protocols ([acme-tls/1]) === RUN TestTLSALPN01Validate/fail/no-protocol-store-error 2023/01/26 03:23:16 http: TLS handshake error from 127.0.0.1:52714: tls: client requested unsupported application protocols ([acme-tls/1]) === RUN TestTLSALPN01Validate/fail/extension-not-critical-store-error === RUN TestTLSALPN01Validate/fail/malformed-extension-store-error 2023/01/26 03:23:39 http: TLS handshake error from 127.0.0.1:37408: read tcp 127.0.0.1:32823->127.0.0.1:37408: use of closed network connection === RUN TestTLSALPN01Validate/fail/keyauth-mismatch-store-error 2023/01/26 03:23:45 http: TLS handshake error from 127.0.0.1:52146: read tcp 127.0.0.1:44061->127.0.0.1:52146: use of closed network connection === RUN TestTLSALPN01Validate/ok/error-obsolete-oid === RUN TestTLSALPN01Validate/fail/obsolete-oid-store-error 2023/01/26 03:24:23 http: TLS handshake error from 127.0.0.1:60204: read tcp 127.0.0.1:38843->127.0.0.1:60204: use of closed network connection === RUN TestTLSALPN01Validate/ok/no-names-nor-ips-error 2023/01/26 03:24:52 http: TLS handshake error from 127.0.0.1:50574: read tcp 127.0.0.1:37597->127.0.0.1:50574: use of closed network connection === RUN TestTLSALPN01Validate/ok/wrong-name 2023/01/26 03:25:05 http: TLS handshake error from 127.0.0.1:40888: read tcp 127.0.0.1:37585->127.0.0.1:40888: use of closed network connection === RUN TestTLSALPN01Validate/ok === RUN TestTLSALPN01Validate/ok/ip === RUN TestTLSALPN01Validate/ok/tlsDial-error === RUN TestTLSALPN01Validate/fail/no-certificates-store-error === RUN TestTLSALPN01Validate/ok/too-many-names-error === RUN TestTLSALPN01Validate/fail/key-auth-gen-error === RUN TestTLSALPN01Validate/ok/error-no-extension 2023/01/26 03:25:43 http: TLS handshake error from 127.0.0.1:45364: read tcp 127.0.0.1:40177->127.0.0.1:45364: use of closed network connection === RUN TestTLSALPN01Validate/ok/error-malformed-extension === RUN TestTLSALPN01Validate/ok/tlsDial-timeout === RUN TestTLSALPN01Validate/ok/no-certificates-error === RUN TestTLSALPN01Validate/fail/no-names-store-error === RUN TestTLSALPN01Validate/fail/no-extension-store-error === RUN TestTLSALPN01Validate/ok/error-extension-not-critical === RUN TestTLSALPN01Validate/ok/error-keyauth-mismatch --- PASS: TestTLSALPN01Validate (188.45s) --- PASS: TestTLSALPN01Validate/fail/tlsDial-store-error (0.00s) --- PASS: TestTLSALPN01Validate/ok/error-no-protocol (0.02s) --- PASS: TestTLSALPN01Validate/fail/no-protocol-store-error (0.02s) --- PASS: TestTLSALPN01Validate/fail/extension-not-critical-store-error (15.73s) --- PASS: TestTLSALPN01Validate/fail/malformed-extension-store-error (7.50s) --- PASS: TestTLSALPN01Validate/fail/keyauth-mismatch-store-error (5.92s) --- PASS: TestTLSALPN01Validate/ok/error-obsolete-oid (27.74s) --- PASS: TestTLSALPN01Validate/fail/obsolete-oid-store-error (9.91s) --- PASS: TestTLSALPN01Validate/ok/no-names-nor-ips-error (28.59s) --- PASS: TestTLSALPN01Validate/ok/wrong-name (13.31s) --- PASS: TestTLSALPN01Validate/ok (6.95s) --- PASS: TestTLSALPN01Validate/ok/ip (7.08s) --- PASS: TestTLSALPN01Validate/ok/tlsDial-error (0.00s) --- PASS: TestTLSALPN01Validate/fail/no-certificates-store-error (0.00s) --- PASS: TestTLSALPN01Validate/ok/too-many-names-error (8.35s) --- PASS: TestTLSALPN01Validate/fail/key-auth-gen-error (3.14s) --- PASS: TestTLSALPN01Validate/ok/error-no-extension (12.89s) --- PASS: TestTLSALPN01Validate/ok/error-malformed-extension (5.62s) --- PASS: TestTLSALPN01Validate/ok/tlsDial-timeout (1.00s) --- PASS: TestTLSALPN01Validate/ok/no-certificates-error (0.00s) --- PASS: TestTLSALPN01Validate/fail/no-names-store-error (8.23s) --- PASS: TestTLSALPN01Validate/fail/no-extension-store-error (7.01s) --- PASS: TestTLSALPN01Validate/ok/error-extension-not-critical (10.36s) --- PASS: TestTLSALPN01Validate/ok/error-keyauth-mismatch (9.06s) === RUN Test_reverseAddr === RUN Test_reverseAddr/ok/ipv4 === RUN Test_reverseAddr/ok/ipv6 --- PASS: Test_reverseAddr (0.00s) --- PASS: Test_reverseAddr/ok/ipv4 (0.00s) --- PASS: Test_reverseAddr/ok/ipv6 (0.00s) === RUN Test_serverName === RUN Test_serverName/ok/dns === RUN Test_serverName/ok/ipv4 === RUN Test_serverName/ok/ipv6 --- PASS: Test_serverName (0.00s) --- PASS: Test_serverName/ok/dns (0.00s) --- PASS: Test_serverName/ok/ipv4 (0.00s) --- PASS: Test_serverName/ok/ipv6 (0.00s) === RUN Test_http01ChallengeHost === RUN Test_http01ChallengeHost/dns === RUN Test_http01ChallengeHost/ipv4 === RUN Test_http01ChallengeHost/ipv6 --- PASS: Test_http01ChallengeHost (0.00s) --- PASS: Test_http01ChallengeHost/dns (0.00s) --- PASS: Test_http01ChallengeHost/ipv4 (0.00s) --- PASS: Test_http01ChallengeHost/ipv6 (0.00s) === RUN Test_doAppleAttestationFormat === RUN Test_doAppleAttestationFormat/ok === RUN Test_doAppleAttestationFormat/fail_apple_issuer === RUN Test_doAppleAttestationFormat/fail_missing_x5c === RUN Test_doAppleAttestationFormat/fail_empty_issuer === RUN Test_doAppleAttestationFormat/fail_leaf_type === RUN Test_doAppleAttestationFormat/fail_leaf_parse === RUN Test_doAppleAttestationFormat/fail_intermediate_type === RUN Test_doAppleAttestationFormat/fail_intermediate_parse === RUN Test_doAppleAttestationFormat/fail_verify --- PASS: Test_doAppleAttestationFormat (0.11s) --- PASS: Test_doAppleAttestationFormat/ok (0.02s) --- PASS: Test_doAppleAttestationFormat/fail_apple_issuer (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_missing_x5c (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_empty_issuer (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_leaf_type (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_leaf_parse (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_intermediate_type (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_intermediate_parse (0.00s) --- PASS: Test_doAppleAttestationFormat/fail_verify (0.00s) === RUN Test_doStepAttestationFormat === RUN Test_doStepAttestationFormat/ok === RUN Test_doStepAttestationFormat/fail_yubico_issuer === RUN Test_doStepAttestationFormat/fail_x5c_type === RUN Test_doStepAttestationFormat/fail_x5c_empty === RUN Test_doStepAttestationFormat/fail_leaf_type === RUN Test_doStepAttestationFormat/fail_leaf_parse === RUN Test_doStepAttestationFormat/fail_intermediate_type === RUN Test_doStepAttestationFormat/fail_intermediate_parse === RUN Test_doStepAttestationFormat/fail_verify === RUN Test_doStepAttestationFormat/fail_sig_type === RUN Test_doStepAttestationFormat/fail_sig_unmarshal === RUN Test_doStepAttestationFormat/fail_keyAuthorization === RUN Test_doStepAttestationFormat/fail_sig_verify_P-256 === RUN Test_doStepAttestationFormat/fail_sig_verify_P-384 === RUN Test_doStepAttestationFormat/fail_sig_verify_RSA === RUN Test_doStepAttestationFormat/fail_sig_verify_Ed25519 === RUN Test_doStepAttestationFormat/fail_unmarshal_serial_number --- PASS: Test_doStepAttestationFormat (2.82s) --- PASS: Test_doStepAttestationFormat/ok (0.01s) --- PASS: Test_doStepAttestationFormat/fail_yubico_issuer (0.00s) --- PASS: Test_doStepAttestationFormat/fail_x5c_type (0.00s) --- PASS: Test_doStepAttestationFormat/fail_x5c_empty (0.00s) --- PASS: Test_doStepAttestationFormat/fail_leaf_type (0.00s) --- PASS: Test_doStepAttestationFormat/fail_leaf_parse (0.00s) --- PASS: Test_doStepAttestationFormat/fail_intermediate_type (0.00s) --- PASS: Test_doStepAttestationFormat/fail_intermediate_parse (0.00s) --- PASS: Test_doStepAttestationFormat/fail_verify (0.00s) --- PASS: Test_doStepAttestationFormat/fail_sig_type (0.01s) --- PASS: Test_doStepAttestationFormat/fail_sig_unmarshal (0.01s) --- PASS: Test_doStepAttestationFormat/fail_keyAuthorization (0.01s) --- PASS: Test_doStepAttestationFormat/fail_sig_verify_P-256 (0.01s) --- PASS: Test_doStepAttestationFormat/fail_sig_verify_P-384 (0.01s) --- PASS: Test_doStepAttestationFormat/fail_sig_verify_RSA (0.01s) --- PASS: Test_doStepAttestationFormat/fail_sig_verify_Ed25519 (0.01s) --- PASS: Test_doStepAttestationFormat/fail_unmarshal_serial_number (0.01s) === RUN Test_doStepAttestationFormat_noCAIntermediate === RUN Test_doStepAttestationFormat_noCAIntermediate/fail_no_intermediate --- PASS: Test_doStepAttestationFormat_noCAIntermediate (0.10s) --- PASS: Test_doStepAttestationFormat_noCAIntermediate/fail_no_intermediate (0.00s) === RUN TestGetUnescapedPathSuffix --- PASS: TestGetUnescapedPathSuffix (0.00s) === RUN TestLinker_DNS === RUN TestLinker_DNS/domain === RUN TestLinker_DNS/domain-port === RUN TestLinker_DNS/ipv4 === RUN TestLinker_DNS/ipv4-port === RUN TestLinker_DNS/ipv6 === RUN TestLinker_DNS/ipv6-port === RUN TestLinker_DNS/ipv6-no-brackets === RUN TestLinker_DNS/ipv6-port-no-brackets === RUN TestLinker_DNS/ipv6-long-no-brackets === RUN TestLinker_DNS/ipv6-long-port-no-brackets --- PASS: TestLinker_DNS (0.00s) --- PASS: TestLinker_DNS/domain (0.00s) --- PASS: TestLinker_DNS/domain-port (0.00s) --- PASS: TestLinker_DNS/ipv4 (0.00s) --- PASS: TestLinker_DNS/ipv4-port (0.00s) --- PASS: TestLinker_DNS/ipv6 (0.00s) --- PASS: TestLinker_DNS/ipv6-port (0.00s) --- PASS: TestLinker_DNS/ipv6-no-brackets (0.00s) --- PASS: TestLinker_DNS/ipv6-port-no-brackets (0.00s) --- PASS: TestLinker_DNS/ipv6-long-no-brackets (0.00s) --- PASS: TestLinker_DNS/ipv6-long-port-no-brackets (0.00s) === RUN TestLinker_GetLink --- PASS: TestLinker_GetLink (0.00s) === RUN TestLinker_LinkOrder === RUN TestLinker_LinkOrder/many-authz === RUN TestLinker_LinkOrder/no-authz-and-no-cert === RUN TestLinker_LinkOrder/one-authz-and-cert --- PASS: TestLinker_LinkOrder (0.00s) --- PASS: TestLinker_LinkOrder/many-authz (0.00s) --- PASS: TestLinker_LinkOrder/no-authz-and-no-cert (0.00s) --- PASS: TestLinker_LinkOrder/one-authz-and-cert (0.00s) === RUN TestLinker_LinkAccount === RUN TestLinker_LinkAccount/ok --- PASS: TestLinker_LinkAccount (0.00s) --- PASS: TestLinker_LinkAccount/ok (0.00s) === RUN TestLinker_LinkChallenge === RUN TestLinker_LinkChallenge/ok --- PASS: TestLinker_LinkChallenge (0.00s) --- PASS: TestLinker_LinkChallenge/ok (0.00s) === RUN TestLinker_LinkAuthorization === RUN TestLinker_LinkAuthorization/ok --- PASS: TestLinker_LinkAuthorization (0.00s) --- PASS: TestLinker_LinkAuthorization/ok (0.00s) === RUN TestLinker_LinkOrdersByAccountID === RUN TestLinker_LinkOrdersByAccountID/ok --- PASS: TestLinker_LinkOrdersByAccountID (0.00s) --- PASS: TestLinker_LinkOrdersByAccountID/ok (0.00s) === RUN TestOrder_UpdateStatus === RUN TestOrder_UpdateStatus/ok/valid === RUN TestOrder_UpdateStatus/ok/already-invalid === RUN TestOrder_UpdateStatus/ok/ready-expired === RUN TestOrder_UpdateStatus/ok/still-pending === RUN TestOrder_UpdateStatus/ok/pending-expired === RUN TestOrder_UpdateStatus/ok/invalid === RUN TestOrder_UpdateStatus/ok/already-valid === RUN TestOrder_UpdateStatus/fail/error-unexpected-status === RUN TestOrder_UpdateStatus/fail/ready-expired-db.UpdateOrder-error --- PASS: TestOrder_UpdateStatus (0.00s) --- PASS: TestOrder_UpdateStatus/ok/valid (0.00s) --- PASS: TestOrder_UpdateStatus/ok/already-invalid (0.00s) --- PASS: TestOrder_UpdateStatus/ok/ready-expired (0.00s) --- PASS: TestOrder_UpdateStatus/ok/still-pending (0.00s) --- PASS: TestOrder_UpdateStatus/ok/pending-expired (0.00s) --- PASS: TestOrder_UpdateStatus/ok/invalid (0.00s) --- PASS: TestOrder_UpdateStatus/ok/already-valid (0.00s) --- PASS: TestOrder_UpdateStatus/fail/error-unexpected-status (0.00s) --- PASS: TestOrder_UpdateStatus/fail/ready-expired-db.UpdateOrder-error (0.00s) === RUN TestOrder_Finalize === RUN TestOrder_Finalize/fail/pending === RUN TestOrder_Finalize/ok/already-valid === RUN TestOrder_Finalize/fail/error-ca-sign === RUN TestOrder_Finalize/fail/error-db.CreateCertificate === RUN TestOrder_Finalize/fail/error-db.UpdateOrder === RUN TestOrder_Finalize/ok/new-cert-ip === RUN TestOrder_Finalize/fail/invalid === RUN TestOrder_Finalize/fail/error-unexpected-status === RUN TestOrder_Finalize/fail/error-provisioner-auth === RUN TestOrder_Finalize/fail/error-template-options === RUN TestOrder_Finalize/ok/new-cert-dns === RUN TestOrder_Finalize/ok/new-cert-dns-and-ip --- PASS: TestOrder_Finalize (0.00s) --- PASS: TestOrder_Finalize/fail/pending (0.00s) --- PASS: TestOrder_Finalize/ok/already-valid (0.00s) --- PASS: TestOrder_Finalize/fail/error-ca-sign (0.00s) --- PASS: TestOrder_Finalize/fail/error-db.CreateCertificate (0.00s) --- PASS: TestOrder_Finalize/fail/error-db.UpdateOrder (0.00s) --- PASS: TestOrder_Finalize/ok/new-cert-ip (0.00s) --- PASS: TestOrder_Finalize/fail/invalid (0.00s) --- PASS: TestOrder_Finalize/fail/error-unexpected-status (0.00s) --- PASS: TestOrder_Finalize/fail/error-provisioner-auth (0.00s) --- PASS: TestOrder_Finalize/fail/error-template-options (0.00s) --- PASS: TestOrder_Finalize/ok/new-cert-dns (0.00s) --- PASS: TestOrder_Finalize/ok/new-cert-dns-and-ip (0.00s) === RUN Test_uniqueSortedIPs === RUN Test_uniqueSortedIPs/ok/empty === RUN Test_uniqueSortedIPs/ok/single-ipv4 === RUN Test_uniqueSortedIPs/ok/multiple-ipv4 === RUN Test_uniqueSortedIPs/ok/multiple-ipv4-with-varying-byte-representations === RUN Test_uniqueSortedIPs/ok/unique-ipv4 === RUN Test_uniqueSortedIPs/ok/single-ipv6 === RUN Test_uniqueSortedIPs/ok/multiple-ipv6 === RUN Test_uniqueSortedIPs/ok/unique-ipv6 === RUN Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6 === RUN Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6-and-varying-byte-representations === RUN Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6-and-more-varying-byte-representations --- PASS: Test_uniqueSortedIPs (0.02s) --- PASS: Test_uniqueSortedIPs/ok/empty (0.00s) --- PASS: Test_uniqueSortedIPs/ok/single-ipv4 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/multiple-ipv4 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/multiple-ipv4-with-varying-byte-representations (0.00s) --- PASS: Test_uniqueSortedIPs/ok/unique-ipv4 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/single-ipv6 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/multiple-ipv6 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/unique-ipv6 (0.01s) --- PASS: Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6 (0.00s) --- PASS: Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6-and-varying-byte-representations (0.00s) --- PASS: Test_uniqueSortedIPs/ok/mixed-ipv4-and-ipv6-and-more-varying-byte-representations (0.00s) === RUN Test_numberOfIdentifierType === RUN Test_numberOfIdentifierType/ok/no-identifiers === RUN Test_numberOfIdentifierType/ok/no-dns === RUN Test_numberOfIdentifierType/ok/no-ips === RUN Test_numberOfIdentifierType/ok/one-dns === RUN Test_numberOfIdentifierType/ok/one-ip === RUN Test_numberOfIdentifierType/ok/more-dns === RUN Test_numberOfIdentifierType/ok/more-ips --- PASS: Test_numberOfIdentifierType (0.00s) --- PASS: Test_numberOfIdentifierType/ok/no-identifiers (0.00s) --- PASS: Test_numberOfIdentifierType/ok/no-dns (0.00s) --- PASS: Test_numberOfIdentifierType/ok/no-ips (0.00s) --- PASS: Test_numberOfIdentifierType/ok/one-dns (0.00s) --- PASS: Test_numberOfIdentifierType/ok/one-ip (0.00s) --- PASS: Test_numberOfIdentifierType/ok/more-dns (0.00s) --- PASS: Test_numberOfIdentifierType/ok/more-ips (0.00s) === RUN Test_ipsAreEqual === RUN Test_ipsAreEqual/ok/ipv4 === RUN Test_ipsAreEqual/fail/ipv4 === RUN Test_ipsAreEqual/ok/ipv6 === RUN Test_ipsAreEqual/fail/ipv6 === RUN Test_ipsAreEqual/fail/ipv4-and-ipv6 === RUN Test_ipsAreEqual/ok/ipv4-mapped-to-ipv6 === RUN Test_ipsAreEqual/fail/invalid-ipv4-and-valid-ipv6 === RUN Test_ipsAreEqual/fail/valid-ipv4-and-invalid-ipv6 === RUN Test_ipsAreEqual/fail/invalid-ipv4-and-invalid-ipv6 --- PASS: Test_ipsAreEqual (0.00s) --- PASS: Test_ipsAreEqual/ok/ipv4 (0.00s) --- PASS: Test_ipsAreEqual/fail/ipv4 (0.00s) --- PASS: Test_ipsAreEqual/ok/ipv6 (0.00s) --- PASS: Test_ipsAreEqual/fail/ipv6 (0.00s) --- PASS: Test_ipsAreEqual/fail/ipv4-and-ipv6 (0.00s) --- PASS: Test_ipsAreEqual/ok/ipv4-mapped-to-ipv6 (0.00s) --- PASS: Test_ipsAreEqual/fail/invalid-ipv4-and-valid-ipv6 (0.00s) --- PASS: Test_ipsAreEqual/fail/valid-ipv4-and-invalid-ipv6 (0.00s) --- PASS: Test_ipsAreEqual/fail/invalid-ipv4-and-invalid-ipv6 (0.00s) === RUN Test_canonicalize === RUN Test_canonicalize/ok/dns === RUN Test_canonicalize/ok/common-name === RUN Test_canonicalize/ok/ipv4 === RUN Test_canonicalize/ok/mixed === RUN Test_canonicalize/ok/mixed-common-name === RUN Test_canonicalize/ok/ip-common-name --- PASS: Test_canonicalize (0.02s) --- PASS: Test_canonicalize/ok/dns (0.00s) --- PASS: Test_canonicalize/ok/common-name (0.01s) --- PASS: Test_canonicalize/ok/ipv4 (0.00s) --- PASS: Test_canonicalize/ok/mixed (0.00s) --- PASS: Test_canonicalize/ok/mixed-common-name (0.00s) --- PASS: Test_canonicalize/ok/ip-common-name (0.00s) === RUN TestOrder_sans === RUN TestOrder_sans/ok/dns === RUN TestOrder_sans/fail/invalid-alternative-name-email === RUN TestOrder_sans/fail/invalid-alternative-name-uri === RUN TestOrder_sans/fail/error-names-length-mismatch === RUN TestOrder_sans/fail/error-names-mismatch === RUN TestOrder_sans/ok/ipv4 === RUN TestOrder_sans/ok/ipv6 === RUN TestOrder_sans/fail/error-ips-length-mismatch === RUN TestOrder_sans/fail/error-ips-mismatch === RUN TestOrder_sans/ok/mixed === RUN TestOrder_sans/fail/unsupported-identifier-type --- PASS: TestOrder_sans (0.02s) --- PASS: TestOrder_sans/ok/dns (0.00s) --- PASS: TestOrder_sans/fail/invalid-alternative-name-email (0.00s) --- PASS: TestOrder_sans/fail/invalid-alternative-name-uri (0.00s) --- PASS: TestOrder_sans/fail/error-names-length-mismatch (0.00s) --- PASS: TestOrder_sans/fail/error-names-mismatch (0.00s) --- PASS: TestOrder_sans/ok/ipv4 (0.00s) --- PASS: TestOrder_sans/ok/ipv6 (0.00s) --- PASS: TestOrder_sans/fail/error-ips-length-mismatch (0.00s) --- PASS: TestOrder_sans/fail/error-ips-mismatch (0.00s) --- PASS: TestOrder_sans/ok/mixed (0.00s) --- PASS: TestOrder_sans/fail/unsupported-identifier-type (0.00s) PASS ok github.com/smallstep/certificates/acme 214.365s === RUN TestNewAccountRequest_Validate === RUN TestNewAccountRequest_Validate/fail/incompatible-input === RUN TestNewAccountRequest_Validate/fail/bad-contact === RUN TestNewAccountRequest_Validate/ok === RUN TestNewAccountRequest_Validate/ok/onlyReturnExisting --- PASS: TestNewAccountRequest_Validate (0.00s) --- PASS: TestNewAccountRequest_Validate/fail/incompatible-input (0.00s) --- PASS: TestNewAccountRequest_Validate/fail/bad-contact (0.00s) --- PASS: TestNewAccountRequest_Validate/ok (0.00s) --- PASS: TestNewAccountRequest_Validate/ok/onlyReturnExisting (0.00s) === RUN TestUpdateAccountRequest_Validate === RUN TestUpdateAccountRequest_Validate/fail/incompatible-input === RUN TestUpdateAccountRequest_Validate/fail/bad-contact === RUN TestUpdateAccountRequest_Validate/fail/bad-status === RUN TestUpdateAccountRequest_Validate/ok/contact === RUN TestUpdateAccountRequest_Validate/ok/status === RUN TestUpdateAccountRequest_Validate/ok/accept-empty --- PASS: TestUpdateAccountRequest_Validate (0.00s) --- PASS: TestUpdateAccountRequest_Validate/fail/incompatible-input (0.00s) --- PASS: TestUpdateAccountRequest_Validate/fail/bad-contact (0.00s) --- PASS: TestUpdateAccountRequest_Validate/fail/bad-status (0.00s) --- PASS: TestUpdateAccountRequest_Validate/ok/contact (0.00s) --- PASS: TestUpdateAccountRequest_Validate/ok/status (0.00s) --- PASS: TestUpdateAccountRequest_Validate/ok/accept-empty (0.00s) === RUN TestHandler_GetOrdersByAccountID === RUN TestHandler_GetOrdersByAccountID/fail/no-account === RUN TestHandler_GetOrdersByAccountID/fail/nil-account === RUN TestHandler_GetOrdersByAccountID/fail/account-id-mismatch === RUN TestHandler_GetOrdersByAccountID/fail/db.GetOrdersByAccountID-error === RUN TestHandler_GetOrdersByAccountID/ok --- PASS: TestHandler_GetOrdersByAccountID (0.01s) --- PASS: TestHandler_GetOrdersByAccountID/fail/no-account (0.00s) --- PASS: TestHandler_GetOrdersByAccountID/fail/nil-account (0.00s) --- PASS: TestHandler_GetOrdersByAccountID/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetOrdersByAccountID/fail/db.GetOrdersByAccountID-error (0.00s) --- PASS: TestHandler_GetOrdersByAccountID/ok (0.00s) === RUN TestHandler_NewAccount === RUN TestHandler_NewAccount/fail/nil-payload === RUN TestHandler_NewAccount/fail/db.CreateAccount-error === RUN TestHandler_NewAccount/ok/new-account === RUN TestHandler_NewAccount/fail/unmarshal-payload-error === RUN TestHandler_NewAccount/fail/no-jwk === RUN TestHandler_NewAccount/ok/new-account-no-eab-required === RUN TestHandler_NewAccount/ok/new-account-with-eab === RUN TestHandler_NewAccount/fail/no-payload === RUN TestHandler_NewAccount/fail/malformed-payload-error === RUN TestHandler_NewAccount/fail/nil-jwk === RUN TestHandler_NewAccount/fail/acmeProvisionerFromContext === RUN TestHandler_NewAccount/fail/db.UpdateExternalAccountKey-error === RUN TestHandler_NewAccount/fail/no-existing-account === RUN TestHandler_NewAccount/fail/new-account-no-eab-provided === RUN TestHandler_NewAccount/ok/return-existing --- PASS: TestHandler_NewAccount (0.13s) --- PASS: TestHandler_NewAccount/fail/nil-payload (0.00s) --- PASS: TestHandler_NewAccount/fail/db.CreateAccount-error (0.00s) --- PASS: TestHandler_NewAccount/ok/new-account (0.00s) --- PASS: TestHandler_NewAccount/fail/unmarshal-payload-error (0.00s) --- PASS: TestHandler_NewAccount/fail/no-jwk (0.00s) --- PASS: TestHandler_NewAccount/ok/new-account-no-eab-required (0.00s) --- PASS: TestHandler_NewAccount/ok/new-account-with-eab (0.00s) --- PASS: TestHandler_NewAccount/fail/no-payload (0.00s) --- PASS: TestHandler_NewAccount/fail/malformed-payload-error (0.00s) --- PASS: TestHandler_NewAccount/fail/nil-jwk (0.00s) --- PASS: TestHandler_NewAccount/fail/acmeProvisionerFromContext (0.00s) --- PASS: TestHandler_NewAccount/fail/db.UpdateExternalAccountKey-error (0.01s) --- PASS: TestHandler_NewAccount/fail/no-existing-account (0.00s) --- PASS: TestHandler_NewAccount/fail/new-account-no-eab-provided (0.00s) --- PASS: TestHandler_NewAccount/ok/return-existing (0.00s) === RUN TestHandler_GetOrUpdateAccount === RUN TestHandler_GetOrUpdateAccount/fail/nil-account === RUN TestHandler_GetOrUpdateAccount/fail/nil-payload === RUN TestHandler_GetOrUpdateAccount/ok/deactivate === RUN TestHandler_GetOrUpdateAccount/ok/update-contacts === RUN TestHandler_GetOrUpdateAccount/fail/no-account === RUN TestHandler_GetOrUpdateAccount/fail/no-payload === RUN TestHandler_GetOrUpdateAccount/fail/unmarshal-payload-error === RUN TestHandler_GetOrUpdateAccount/fail/malformed-payload-error === RUN TestHandler_GetOrUpdateAccount/fail/db.UpdateAccount-error === RUN TestHandler_GetOrUpdateAccount/ok/update-empty === RUN TestHandler_GetOrUpdateAccount/ok/post-as-get --- PASS: TestHandler_GetOrUpdateAccount (0.02s) --- PASS: TestHandler_GetOrUpdateAccount/fail/nil-account (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/nil-payload (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/deactivate (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/update-contacts (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/no-account (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/no-payload (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/unmarshal-payload-error (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/malformed-payload-error (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/fail/db.UpdateAccount-error (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/update-empty (0.00s) --- PASS: TestHandler_GetOrUpdateAccount/ok/post-as-get (0.00s) === RUN Test_keysAreEqual === RUN Test_keysAreEqual/ok/nil === RUN Test_keysAreEqual/ok/equal === RUN Test_keysAreEqual/ok/not-equal === RUN Test_keysAreEqual/ok/wrong-key-type --- PASS: Test_keysAreEqual (0.01s) --- PASS: Test_keysAreEqual/ok/nil (0.00s) --- PASS: Test_keysAreEqual/ok/equal (0.00s) --- PASS: Test_keysAreEqual/ok/not-equal (0.00s) --- PASS: Test_keysAreEqual/ok/wrong-key-type (0.00s) === RUN TestHandler_validateExternalAccountBinding === RUN TestHandler_validateExternalAccountBinding/fail/eab-already-bound === RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-error === RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-wrong-provisioner === RUN TestHandler_validateExternalAccountBinding/fail/eab-non-matching-keys === RUN TestHandler_validateExternalAccountBinding/fail/nil-jwk === RUN TestHandler_validateExternalAccountBinding/fail/acmeProvisionerFromContext === RUN TestHandler_validateExternalAccountBinding/fail/retrieve-eab-key-db-failure === RUN TestHandler_validateExternalAccountBinding/fail/validate-eab-jws-no-signatures === RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-not-found === RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-no-keybytes === RUN TestHandler_validateExternalAccountBinding/ok/no-eab-required-but-provided === RUN TestHandler_validateExternalAccountBinding/fail/parse-eab-jose === RUN TestHandler_validateExternalAccountBinding/fail/eab-verify === RUN TestHandler_validateExternalAccountBinding/fail/no-jwk === RUN TestHandler_validateExternalAccountBinding/ok/eab === RUN TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-nil --- PASS: TestHandler_validateExternalAccountBinding (0.12s) --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-already-bound (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-error (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-wrong-provisioner (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-non-matching-keys (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/nil-jwk (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/acmeProvisionerFromContext (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/retrieve-eab-key-db-failure (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/validate-eab-jws-no-signatures (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-not-found (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-no-keybytes (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/ok/no-eab-required-but-provided (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/parse-eab-jose (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/eab-verify (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/no-jwk (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/ok/eab (0.00s) --- PASS: TestHandler_validateExternalAccountBinding/fail/db.GetExternalAccountKey-nil (0.00s) === RUN Test_validateEABJWS === RUN Test_validateEABJWS/ok === RUN Test_validateEABJWS/fail/invalid-algorithm === RUN Test_validateEABJWS/fail/url-not-set === RUN Test_validateEABJWS/fail/outer-jws-multiple-signatures === RUN Test_validateEABJWS/fail/nonce-not-empty === RUN Test_validateEABJWS/fail/no-outer-jws === RUN Test_validateEABJWS/fail/outer-jws-no-url === RUN Test_validateEABJWS/fail/outer-jws-with-different-url === RUN Test_validateEABJWS/fail/nil-jws === RUN Test_validateEABJWS/fail/invalid-number-of-signatures === RUN Test_validateEABJWS/fail/kid-not-set --- PASS: Test_validateEABJWS (0.08s) --- PASS: Test_validateEABJWS/ok (0.00s) --- PASS: Test_validateEABJWS/fail/invalid-algorithm (0.00s) --- PASS: Test_validateEABJWS/fail/url-not-set (0.00s) --- PASS: Test_validateEABJWS/fail/outer-jws-multiple-signatures (0.00s) --- PASS: Test_validateEABJWS/fail/nonce-not-empty (0.00s) --- PASS: Test_validateEABJWS/fail/no-outer-jws (0.00s) --- PASS: Test_validateEABJWS/fail/outer-jws-no-url (0.00s) --- PASS: Test_validateEABJWS/fail/outer-jws-with-different-url (0.00s) --- PASS: Test_validateEABJWS/fail/nil-jws (0.00s) --- PASS: Test_validateEABJWS/fail/invalid-number-of-signatures (0.00s) --- PASS: Test_validateEABJWS/fail/kid-not-set (0.00s) === RUN TestHandler_GetNonce === RUN TestHandler_GetNonce/GET === RUN TestHandler_GetNonce/HEAD --- PASS: TestHandler_GetNonce (0.00s) --- PASS: TestHandler_GetNonce/GET (0.00s) --- PASS: TestHandler_GetNonce/HEAD (0.00s) === RUN TestHandler_GetDirectory === RUN TestHandler_GetDirectory/fail/no-provisioner === RUN TestHandler_GetDirectory/fail/different-provisioner === RUN TestHandler_GetDirectory/ok === RUN TestHandler_GetDirectory/ok/eab-required === RUN TestHandler_GetDirectory/ok/full-meta --- PASS: TestHandler_GetDirectory (0.02s) --- PASS: TestHandler_GetDirectory/fail/no-provisioner (0.00s) --- PASS: TestHandler_GetDirectory/fail/different-provisioner (0.00s) --- PASS: TestHandler_GetDirectory/ok (0.00s) --- PASS: TestHandler_GetDirectory/ok/eab-required (0.00s) --- PASS: TestHandler_GetDirectory/ok/full-meta (0.00s) === RUN TestHandler_GetAuthorization === RUN TestHandler_GetAuthorization/fail/db.GetAuthorization-error === RUN TestHandler_GetAuthorization/fail/account-id-mismatch === RUN TestHandler_GetAuthorization/fail/db.UpdateAuthorization-error === RUN TestHandler_GetAuthorization/ok === RUN TestHandler_GetAuthorization/fail/no-account === RUN TestHandler_GetAuthorization/fail/nil-account --- PASS: TestHandler_GetAuthorization (0.02s) --- PASS: TestHandler_GetAuthorization/fail/db.GetAuthorization-error (0.00s) --- PASS: TestHandler_GetAuthorization/fail/account-id-mismatch (0.01s) --- PASS: TestHandler_GetAuthorization/fail/db.UpdateAuthorization-error (0.00s) --- PASS: TestHandler_GetAuthorization/ok (0.00s) --- PASS: TestHandler_GetAuthorization/fail/no-account (0.00s) --- PASS: TestHandler_GetAuthorization/fail/nil-account (0.00s) === RUN TestHandler_GetCertificate === RUN TestHandler_GetCertificate/fail/account-id-mismatch === RUN TestHandler_GetCertificate/ok === RUN TestHandler_GetCertificate/fail/no-account === RUN TestHandler_GetCertificate/fail/nil-account === RUN TestHandler_GetCertificate/fail/db.GetCertificate-error --- PASS: TestHandler_GetCertificate (0.02s) --- PASS: TestHandler_GetCertificate/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetCertificate/ok (0.00s) --- PASS: TestHandler_GetCertificate/fail/no-account (0.00s) --- PASS: TestHandler_GetCertificate/fail/nil-account (0.00s) --- PASS: TestHandler_GetCertificate/fail/db.GetCertificate-error (0.00s) === RUN TestHandler_GetChallenge === RUN TestHandler_GetChallenge/fail/no-payload === RUN TestHandler_GetChallenge/fail/nil-payload === RUN TestHandler_GetChallenge/ok === RUN TestHandler_GetChallenge/fail/nil-account === RUN TestHandler_GetChallenge/fail/db.GetChallenge-error === RUN TestHandler_GetChallenge/fail/account-id-mismatch === RUN TestHandler_GetChallenge/fail/no-jwk === RUN TestHandler_GetChallenge/fail/nil-jwk === RUN TestHandler_GetChallenge/fail/validate-challenge-error === RUN TestHandler_GetChallenge/fail/no-account --- PASS: TestHandler_GetChallenge (0.04s) --- PASS: TestHandler_GetChallenge/fail/no-payload (0.00s) --- PASS: TestHandler_GetChallenge/fail/nil-payload (0.00s) --- PASS: TestHandler_GetChallenge/ok (0.00s) --- PASS: TestHandler_GetChallenge/fail/nil-account (0.01s) --- PASS: TestHandler_GetChallenge/fail/db.GetChallenge-error (0.00s) --- PASS: TestHandler_GetChallenge/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetChallenge/fail/no-jwk (0.00s) --- PASS: TestHandler_GetChallenge/fail/nil-jwk (0.00s) --- PASS: TestHandler_GetChallenge/fail/validate-challenge-error (0.00s) --- PASS: TestHandler_GetChallenge/fail/no-account (0.00s) === RUN Test_createMetaObject === RUN Test_createMetaObject/no-meta === RUN Test_createMetaObject/terms-of-service === RUN Test_createMetaObject/website === RUN Test_createMetaObject/caa === RUN Test_createMetaObject/require-eab === RUN Test_createMetaObject/full-meta --- PASS: Test_createMetaObject (0.01s) --- PASS: Test_createMetaObject/no-meta (0.00s) --- PASS: Test_createMetaObject/terms-of-service (0.00s) --- PASS: Test_createMetaObject/website (0.00s) --- PASS: Test_createMetaObject/caa (0.01s) --- PASS: Test_createMetaObject/require-eab (0.00s) --- PASS: Test_createMetaObject/full-meta (0.00s) === RUN TestHandler_addNonce === RUN TestHandler_addNonce/fail/AddNonce-error === RUN TestHandler_addNonce/ok --- PASS: TestHandler_addNonce (0.00s) --- PASS: TestHandler_addNonce/fail/AddNonce-error (0.00s) --- PASS: TestHandler_addNonce/ok (0.00s) === RUN TestHandler_addDirLink === RUN TestHandler_addDirLink/ok --- PASS: TestHandler_addDirLink (0.00s) --- PASS: TestHandler_addDirLink/ok (0.00s) === RUN TestHandler_verifyContentType === RUN TestHandler_verifyContentType/ok/certificate/pkcs7-mime === RUN TestHandler_verifyContentType/fail/provisioner-not-set === RUN TestHandler_verifyContentType/fail/general-bad-content-type === RUN TestHandler_verifyContentType/fail/certificate-bad-content-type === RUN TestHandler_verifyContentType/ok === RUN TestHandler_verifyContentType/ok/certificate/pkix-cert === RUN TestHandler_verifyContentType/ok/certificate/jose+json --- PASS: TestHandler_verifyContentType (0.00s) --- PASS: TestHandler_verifyContentType/ok/certificate/pkcs7-mime (0.00s) --- PASS: TestHandler_verifyContentType/fail/provisioner-not-set (0.00s) --- PASS: TestHandler_verifyContentType/fail/general-bad-content-type (0.00s) --- PASS: TestHandler_verifyContentType/fail/certificate-bad-content-type (0.00s) --- PASS: TestHandler_verifyContentType/ok (0.00s) --- PASS: TestHandler_verifyContentType/ok/certificate/pkix-cert (0.00s) --- PASS: TestHandler_verifyContentType/ok/certificate/jose+json (0.00s) === RUN TestHandler_isPostAsGet === RUN TestHandler_isPostAsGet/fail/no-payload === RUN TestHandler_isPostAsGet/fail/nil-payload === RUN TestHandler_isPostAsGet/fail/not-post-as-get === RUN TestHandler_isPostAsGet/ok --- PASS: TestHandler_isPostAsGet (0.00s) --- PASS: TestHandler_isPostAsGet/fail/no-payload (0.00s) --- PASS: TestHandler_isPostAsGet/fail/nil-payload (0.00s) --- PASS: TestHandler_isPostAsGet/fail/not-post-as-get (0.00s) --- PASS: TestHandler_isPostAsGet/ok (0.00s) === RUN TestHandler_parseJWS === RUN TestHandler_parseJWS/fail/read-body-error === RUN TestHandler_parseJWS/fail/parse-jws-error === RUN TestHandler_parseJWS/ok --- PASS: TestHandler_parseJWS (0.01s) --- PASS: TestHandler_parseJWS/fail/read-body-error (0.00s) --- PASS: TestHandler_parseJWS/fail/parse-jws-error (0.00s) --- PASS: TestHandler_parseJWS/ok (0.00s) === RUN TestHandler_verifyAndExtractJWSPayload === RUN TestHandler_verifyAndExtractJWSPayload/fail/nil-jws === RUN TestHandler_verifyAndExtractJWSPayload/fail/verify-jws-failure === RUN TestHandler_verifyAndExtractJWSPayload/fail/algorithm-mismatch === RUN TestHandler_verifyAndExtractJWSPayload/ok/empty-algorithm-in-jwk === RUN TestHandler_verifyAndExtractJWSPayload/ok/empty-json === RUN TestHandler_verifyAndExtractJWSPayload/fail/no-jws === RUN TestHandler_verifyAndExtractJWSPayload/fail/no-jwk === RUN TestHandler_verifyAndExtractJWSPayload/fail/nil-jwk === RUN TestHandler_verifyAndExtractJWSPayload/ok === RUN TestHandler_verifyAndExtractJWSPayload/ok/post-as-get --- PASS: TestHandler_verifyAndExtractJWSPayload (0.06s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/nil-jws (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/verify-jws-failure (0.01s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/algorithm-mismatch (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/empty-algorithm-in-jwk (0.01s) --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/empty-json (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/no-jws (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/no-jwk (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/fail/nil-jwk (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/ok (0.00s) --- PASS: TestHandler_verifyAndExtractJWSPayload/ok/post-as-get (0.01s) === RUN TestHandler_lookupJWK === RUN TestHandler_lookupJWK/fail/GetAccount-error === RUN TestHandler_lookupJWK/fail/account-not-valid === RUN TestHandler_lookupJWK/ok === RUN TestHandler_lookupJWK/fail/no-jws === RUN TestHandler_lookupJWK/fail/nil-jws === RUN TestHandler_lookupJWK/fail/no-kid === RUN TestHandler_lookupJWK/fail/bad-kid-prefix === RUN TestHandler_lookupJWK/fail/account-not-found --- PASS: TestHandler_lookupJWK (0.07s) --- PASS: TestHandler_lookupJWK/fail/GetAccount-error (0.00s) --- PASS: TestHandler_lookupJWK/fail/account-not-valid (0.00s) --- PASS: TestHandler_lookupJWK/ok (0.00s) --- PASS: TestHandler_lookupJWK/fail/no-jws (0.01s) --- PASS: TestHandler_lookupJWK/fail/nil-jws (0.00s) --- PASS: TestHandler_lookupJWK/fail/no-kid (0.00s) --- PASS: TestHandler_lookupJWK/fail/bad-kid-prefix (0.00s) --- PASS: TestHandler_lookupJWK/fail/account-not-found (0.00s) === RUN TestHandler_extractJWK === RUN TestHandler_extractJWK/fail/nil-jwk === RUN TestHandler_extractJWK/fail/invalid-jwk === RUN TestHandler_extractJWK/fail/GetAccountByKey-error === RUN TestHandler_extractJWK/fail/account-not-valid === RUN TestHandler_extractJWK/ok === RUN TestHandler_extractJWK/ok/no-account === RUN TestHandler_extractJWK/fail/no-jws === RUN TestHandler_extractJWK/fail/nil-jws --- PASS: TestHandler_extractJWK (0.05s) --- PASS: TestHandler_extractJWK/fail/nil-jwk (0.00s) --- PASS: TestHandler_extractJWK/fail/invalid-jwk (0.00s) --- PASS: TestHandler_extractJWK/fail/GetAccountByKey-error (0.00s) --- PASS: TestHandler_extractJWK/fail/account-not-valid (0.00s) --- PASS: TestHandler_extractJWK/ok (0.00s) --- PASS: TestHandler_extractJWK/ok/no-account (0.00s) --- PASS: TestHandler_extractJWK/fail/no-jws (0.00s) --- PASS: TestHandler_extractJWK/fail/nil-jws (0.00s) === RUN TestHandler_validateJWS === RUN TestHandler_validateJWS/fail/no-url-header === RUN TestHandler_validateJWS/fail/url-mismatch === RUN TestHandler_validateJWS/ok/kid === RUN TestHandler_validateJWS/fail/no-jws === RUN TestHandler_validateJWS/fail/unsuitable-algorithm-mac === RUN TestHandler_validateJWS/fail/UseNonce-error === RUN TestHandler_validateJWS/fail/both-jwk-kid === RUN TestHandler_validateJWS/ok/jwk/ecdsa === RUN TestHandler_validateJWS/fail/nil-jws === RUN TestHandler_validateJWS/fail/unsuitable-algorithm-none === RUN TestHandler_validateJWS/fail/rsa-key-too-small === RUN TestHandler_validateJWS/fail/more-than-one-signature === RUN TestHandler_validateJWS/fail/no-jwk-kid === RUN TestHandler_validateJWS/ok/jwk/rsa === RUN TestHandler_validateJWS/fail/no-signature === RUN TestHandler_validateJWS/fail/unprotected-header-not-empty === RUN TestHandler_validateJWS/fail/rsa-key-&-alg-mismatch --- PASS: TestHandler_validateJWS (10.94s) --- PASS: TestHandler_validateJWS/fail/no-url-header (0.00s) --- PASS: TestHandler_validateJWS/fail/url-mismatch (0.00s) --- PASS: TestHandler_validateJWS/ok/kid (0.00s) --- PASS: TestHandler_validateJWS/fail/no-jws (0.00s) --- PASS: TestHandler_validateJWS/fail/unsuitable-algorithm-mac (0.00s) --- PASS: TestHandler_validateJWS/fail/UseNonce-error (0.00s) --- PASS: TestHandler_validateJWS/fail/both-jwk-kid (0.00s) --- PASS: TestHandler_validateJWS/ok/jwk/ecdsa (0.01s) --- PASS: TestHandler_validateJWS/fail/nil-jws (0.00s) --- PASS: TestHandler_validateJWS/fail/unsuitable-algorithm-none (0.00s) --- PASS: TestHandler_validateJWS/fail/rsa-key-too-small (0.00s) --- PASS: TestHandler_validateJWS/fail/more-than-one-signature (0.00s) --- PASS: TestHandler_validateJWS/fail/no-jwk-kid (0.00s) --- PASS: TestHandler_validateJWS/ok/jwk/rsa (0.00s) --- PASS: TestHandler_validateJWS/fail/no-signature (0.00s) --- PASS: TestHandler_validateJWS/fail/unprotected-header-not-empty (0.00s) --- PASS: TestHandler_validateJWS/fail/rsa-key-&-alg-mismatch (0.00s) === RUN Test_canExtractJWKFrom === RUN Test_canExtractJWKFrom/no-jws === RUN Test_canExtractJWKFrom/no-signatures === RUN Test_canExtractJWKFrom/no-jwk === RUN Test_canExtractJWKFrom/ok --- PASS: Test_canExtractJWKFrom (0.00s) --- PASS: Test_canExtractJWKFrom/no-jws (0.00s) --- PASS: Test_canExtractJWKFrom/no-signatures (0.00s) --- PASS: Test_canExtractJWKFrom/no-jwk (0.00s) --- PASS: Test_canExtractJWKFrom/ok (0.00s) === RUN TestHandler_extractOrLookupJWK === RUN TestHandler_extractOrLookupJWK/ok/extract === RUN TestHandler_extractOrLookupJWK/ok/lookup --- PASS: TestHandler_extractOrLookupJWK (0.02s) --- PASS: TestHandler_extractOrLookupJWK/ok/extract (0.00s) --- PASS: TestHandler_extractOrLookupJWK/ok/lookup (0.00s) === RUN TestHandler_checkPrerequisites === RUN TestHandler_checkPrerequisites/fail/error === RUN TestHandler_checkPrerequisites/fail/prerequisites-nok === RUN TestHandler_checkPrerequisites/ok --- PASS: TestHandler_checkPrerequisites (0.00s) --- PASS: TestHandler_checkPrerequisites/fail/error (0.00s) --- PASS: TestHandler_checkPrerequisites/fail/prerequisites-nok (0.00s) --- PASS: TestHandler_checkPrerequisites/ok (0.00s) === RUN TestNewOrderRequest_Validate === RUN TestNewOrderRequest_Validate/fail/no-identifiers === RUN TestNewOrderRequest_Validate/fail/bad-identifier === RUN TestNewOrderRequest_Validate/fail/bad-identifier/bad-dns === RUN TestNewOrderRequest_Validate/ok/ipv4 === RUN TestNewOrderRequest_Validate/ok/mixed-dns-and-ipv4 === RUN TestNewOrderRequest_Validate/ok/mixed-ipv4-and-ipv6 === RUN TestNewOrderRequest_Validate/fail/bad-identifier/dns-port === RUN TestNewOrderRequest_Validate/fail/bad-identifier/dns-wildcard-port === RUN TestNewOrderRequest_Validate/fail/bad-ip === RUN TestNewOrderRequest_Validate/ok === RUN TestNewOrderRequest_Validate/ok/ipv6 --- PASS: TestNewOrderRequest_Validate (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/no-identifiers (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/bad-identifier (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/bad-identifier/bad-dns (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/ipv4 (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/mixed-dns-and-ipv4 (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/mixed-ipv4-and-ipv6 (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/bad-identifier/dns-port (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/bad-identifier/dns-wildcard-port (0.00s) --- PASS: TestNewOrderRequest_Validate/fail/bad-ip (0.00s) --- PASS: TestNewOrderRequest_Validate/ok (0.00s) --- PASS: TestNewOrderRequest_Validate/ok/ipv6 (0.00s) === RUN TestFinalizeRequestValidate === RUN TestFinalizeRequestValidate/fail/parse-csr-error === RUN TestFinalizeRequestValidate/fail/invalid-csr-signature === RUN TestFinalizeRequestValidate/ok === RUN TestFinalizeRequestValidate/ok/padding --- PASS: TestFinalizeRequestValidate (0.02s) --- PASS: TestFinalizeRequestValidate/fail/parse-csr-error (0.00s) --- PASS: TestFinalizeRequestValidate/fail/invalid-csr-signature (0.00s) --- PASS: TestFinalizeRequestValidate/ok (0.00s) --- PASS: TestFinalizeRequestValidate/ok/padding (0.00s) === RUN TestHandler_GetOrder === RUN TestHandler_GetOrder/fail/db.GetOrder-error === RUN TestHandler_GetOrder/fail/account-id-mismatch === RUN TestHandler_GetOrder/fail/provisioner-id-mismatch === RUN TestHandler_GetOrder/fail/no-account === RUN TestHandler_GetOrder/fail/nil-provisioner === RUN TestHandler_GetOrder/fail/order-update-error === RUN TestHandler_GetOrder/ok === RUN TestHandler_GetOrder/fail/nil-account === RUN TestHandler_GetOrder/fail/no-provisioner --- PASS: TestHandler_GetOrder (0.01s) --- PASS: TestHandler_GetOrder/fail/db.GetOrder-error (0.00s) --- PASS: TestHandler_GetOrder/fail/account-id-mismatch (0.00s) --- PASS: TestHandler_GetOrder/fail/provisioner-id-mismatch (0.00s) --- PASS: TestHandler_GetOrder/fail/no-account (0.00s) --- PASS: TestHandler_GetOrder/fail/nil-provisioner (0.00s) --- PASS: TestHandler_GetOrder/fail/order-update-error (0.00s) --- PASS: TestHandler_GetOrder/ok (0.00s) --- PASS: TestHandler_GetOrder/fail/nil-account (0.00s) --- PASS: TestHandler_GetOrder/fail/no-provisioner (0.00s) === RUN TestHandler_newAuthorization === RUN TestHandler_newAuthorization/ok/permanent-identifier-disabled === RUN TestHandler_newAuthorization/ok/permanent-identifier-enabled 1 === RUN TestHandler_newAuthorization/fail/error-db.CreateChallenge === RUN TestHandler_newAuthorization/fail/error-db.CreateAuthorization === RUN TestHandler_newAuthorization/ok/no-wildcard === RUN TestHandler_newAuthorization/ok/wildcard --- PASS: TestHandler_newAuthorization (0.01s) --- PASS: TestHandler_newAuthorization/ok/permanent-identifier-disabled (0.00s) --- PASS: TestHandler_newAuthorization/ok/permanent-identifier-enabled (0.00s) --- PASS: TestHandler_newAuthorization/fail/error-db.CreateChallenge (0.01s) --- PASS: TestHandler_newAuthorization/fail/error-db.CreateAuthorization (0.00s) --- PASS: TestHandler_newAuthorization/ok/no-wildcard (0.00s) --- PASS: TestHandler_newAuthorization/ok/wildcard (0.00s) === RUN TestHandler_NewOrder === RUN TestHandler_NewOrder/ok/nbf-no-naf === RUN TestHandler_NewOrder/ok/naf-no-nbf === RUN TestHandler_NewOrder/ok/naf-nbf === RUN TestHandler_NewOrder/fail/nil-account === RUN TestHandler_NewOrder/fail/no-payload === RUN TestHandler_NewOrder/fail/unmarshal-payload-error === RUN TestHandler_NewOrder/fail/acmeProvisionerFromContext-error === RUN TestHandler_NewOrder/fail/db.GetExternalAccountKeyByAccountID-error === RUN TestHandler_NewOrder/fail/isIdentifierAllowed-error === RUN TestHandler_NewOrder/fail/prov.AuthorizeOrderIdentifier-error === RUN TestHandler_NewOrder/ok/multiple-authz === RUN TestHandler_NewOrder/fail/nil-provisioner === RUN TestHandler_NewOrder/fail/no-provisioner === RUN TestHandler_NewOrder/fail/nil-payload === RUN TestHandler_NewOrder/fail/malformed-payload-error === RUN TestHandler_NewOrder/fail/error-h.newAuthorization === RUN TestHandler_NewOrder/fail/error-db.CreateOrder === RUN TestHandler_NewOrder/ok/default-naf-nbf === RUN TestHandler_NewOrder/fail/no-account === RUN TestHandler_NewOrder/fail/ca.AreSANsAllowed-error === RUN TestHandler_NewOrder/ok/default-naf-nbf-with-policy === RUN TestHandler_NewOrder/fail/newACMEPolicyEngine-error --- PASS: TestHandler_NewOrder (0.04s) --- PASS: TestHandler_NewOrder/ok/nbf-no-naf (0.01s) --- PASS: TestHandler_NewOrder/ok/naf-no-nbf (0.01s) --- PASS: TestHandler_NewOrder/ok/naf-nbf (0.00s) --- PASS: TestHandler_NewOrder/fail/nil-account (0.00s) --- PASS: TestHandler_NewOrder/fail/no-payload (0.00s) --- PASS: TestHandler_NewOrder/fail/unmarshal-payload-error (0.00s) --- PASS: TestHandler_NewOrder/fail/acmeProvisionerFromContext-error (0.00s) --- PASS: TestHandler_NewOrder/fail/db.GetExternalAccountKeyByAccountID-error (0.00s) --- PASS: TestHandler_NewOrder/fail/isIdentifierAllowed-error (0.00s) --- PASS: TestHandler_NewOrder/fail/prov.AuthorizeOrderIdentifier-error (0.00s) --- PASS: TestHandler_NewOrder/ok/multiple-authz (0.00s) --- PASS: TestHandler_NewOrder/fail/nil-provisioner (0.00s) --- PASS: TestHandler_NewOrder/fail/no-provisioner (0.00s) --- PASS: TestHandler_NewOrder/fail/nil-payload (0.00s) --- PASS: TestHandler_NewOrder/fail/malformed-payload-error (0.00s) --- PASS: TestHandler_NewOrder/fail/error-h.newAuthorization (0.00s) --- PASS: TestHandler_NewOrder/fail/error-db.CreateOrder (0.00s) --- PASS: TestHandler_NewOrder/ok/default-naf-nbf (0.00s) --- PASS: TestHandler_NewOrder/fail/no-account (0.00s) --- PASS: TestHandler_NewOrder/fail/ca.AreSANsAllowed-error (0.00s) --- PASS: TestHandler_NewOrder/ok/default-naf-nbf-with-policy (0.00s) --- PASS: TestHandler_NewOrder/fail/newACMEPolicyEngine-error (0.00s) === RUN TestHandler_FinalizeOrder === RUN TestHandler_FinalizeOrder/fail/account-id-mismatch === RUN TestHandler_FinalizeOrder/fail/nil-account === RUN TestHandler_FinalizeOrder/fail/nil-provisioner === RUN TestHandler_FinalizeOrder/fail/nil-payload === RUN TestHandler_FinalizeOrder/fail/unmarshal-payload-error === RUN TestHandler_FinalizeOrder/fail/db.GetOrder-error === RUN TestHandler_FinalizeOrder/fail/provisioner-id-mismatch === RUN TestHandler_FinalizeOrder/fail/order-finalize-error === RUN TestHandler_FinalizeOrder/ok === RUN TestHandler_FinalizeOrder/fail/no-account === RUN TestHandler_FinalizeOrder/fail/no-provisioner === RUN TestHandler_FinalizeOrder/fail/no-payload === RUN TestHandler_FinalizeOrder/fail/malformed-payload-error --- PASS: TestHandler_FinalizeOrder (0.09s) --- PASS: TestHandler_FinalizeOrder/fail/account-id-mismatch (0.01s) --- PASS: TestHandler_FinalizeOrder/fail/nil-account (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/nil-provisioner (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/nil-payload (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/unmarshal-payload-error (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/db.GetOrder-error (0.02s) --- PASS: TestHandler_FinalizeOrder/fail/provisioner-id-mismatch (0.02s) --- PASS: TestHandler_FinalizeOrder/fail/order-finalize-error (0.01s) --- PASS: TestHandler_FinalizeOrder/ok (0.02s) --- PASS: TestHandler_FinalizeOrder/fail/no-account (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/no-provisioner (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/no-payload (0.00s) --- PASS: TestHandler_FinalizeOrder/fail/malformed-payload-error (0.00s) === RUN TestHandler_challengeTypes === RUN TestHandler_challengeTypes/ok/dns === RUN TestHandler_challengeTypes/ok/wildcard === RUN TestHandler_challengeTypes/ok/ip --- PASS: TestHandler_challengeTypes (0.00s) --- PASS: TestHandler_challengeTypes/ok/dns (0.00s) --- PASS: TestHandler_challengeTypes/ok/wildcard (0.00s) --- PASS: TestHandler_challengeTypes/ok/ip (0.00s) === RUN TestTrimIfWildcard === RUN TestTrimIfWildcard/no_trim === RUN TestTrimIfWildcard/trim --- PASS: TestTrimIfWildcard (0.00s) --- PASS: TestTrimIfWildcard/no_trim (0.00s) --- PASS: TestTrimIfWildcard/trim (0.00s) === RUN Test_validateReasonCode === RUN Test_validateReasonCode/ok === RUN Test_validateReasonCode/fail/too-low === RUN Test_validateReasonCode/fail/too-high === RUN Test_validateReasonCode/fail/missing-7 --- PASS: Test_validateReasonCode (0.00s) --- PASS: Test_validateReasonCode/ok (0.00s) --- PASS: Test_validateReasonCode/fail/too-low (0.00s) --- PASS: Test_validateReasonCode/fail/too-high (0.00s) --- PASS: Test_validateReasonCode/fail/missing-7 (0.00s) === RUN Test_reason === RUN Test_reason/unspecified_reason === RUN Test_reason/key_compromised === RUN Test_reason/ca_compromised === RUN Test_reason/affiliation_changed === RUN Test_reason/superseded === RUN Test_reason/cessation_of_operation === RUN Test_reason/certificate_hold === RUN Test_reason/remove_from_crl === RUN Test_reason/privilege_withdrawn === RUN Test_reason/aa_compromised === RUN Test_reason/default --- PASS: Test_reason (0.01s) --- PASS: Test_reason/unspecified_reason (0.01s) --- PASS: Test_reason/key_compromised (0.00s) --- PASS: Test_reason/ca_compromised (0.00s) --- PASS: Test_reason/affiliation_changed (0.00s) --- PASS: Test_reason/superseded (0.00s) --- PASS: Test_reason/cessation_of_operation (0.00s) --- PASS: Test_reason/certificate_hold (0.00s) --- PASS: Test_reason/remove_from_crl (0.00s) --- PASS: Test_reason/privilege_withdrawn (0.00s) --- PASS: Test_reason/aa_compromised (0.00s) --- PASS: Test_reason/default (0.00s) === RUN Test_revokeOptions === RUN Test_revokeOptions/ok/no-reasoncode === RUN Test_revokeOptions/ok/including-reasoncode --- PASS: Test_revokeOptions (0.02s) --- PASS: Test_revokeOptions/ok/no-reasoncode (0.00s) --- PASS: Test_revokeOptions/ok/including-reasoncode (0.00s) === RUN TestHandler_RevokeCert === RUN TestHandler_RevokeCert/fail/certificate-already-revoked === RUN TestHandler_RevokeCert/ok/using-account-key === RUN TestHandler_RevokeCert/fail/nil-jws === RUN TestHandler_RevokeCert/fail/no-account === RUN TestHandler_RevokeCert/fail/account-not-valid === RUN TestHandler_RevokeCert/fail/prov.AuthorizeRevoke === RUN TestHandler_RevokeCert/fail/ca.Revoke === RUN TestHandler_RevokeCert/fail/unmarshal-payload === RUN TestHandler_RevokeCert/fail/no-certificate-encoded === RUN TestHandler_RevokeCert/fail/certificate-revoked-check-fails === RUN TestHandler_RevokeCert/fail/nil-payload === RUN TestHandler_RevokeCert/fail/wrong-certificate-encoding === RUN TestHandler_RevokeCert/fail/nil-account === RUN TestHandler_RevokeCert/fail/unauthorized-certificate-key === RUN TestHandler_RevokeCert/fail/no-jws === RUN TestHandler_RevokeCert/fail/no-provisioner === RUN TestHandler_RevokeCert/fail/no-payload === RUN TestHandler_RevokeCert/fail/account-not-authorized === RUN TestHandler_RevokeCert/fail/invalid-reasoncode === RUN TestHandler_RevokeCert/fail/ca.Revoke-already-revoked === RUN TestHandler_RevokeCert/ok/using-certificate-key === RUN TestHandler_RevokeCert/fail/nil-provisioner === RUN TestHandler_RevokeCert/fail/db.GetCertificateBySerial === RUN TestHandler_RevokeCert/fail/different-certificate-contents --- PASS: TestHandler_RevokeCert (0.16s) --- PASS: TestHandler_RevokeCert/fail/certificate-already-revoked (0.00s) --- PASS: TestHandler_RevokeCert/ok/using-account-key (0.00s) --- PASS: TestHandler_RevokeCert/fail/nil-jws (0.00s) --- PASS: TestHandler_RevokeCert/fail/no-account (0.00s) --- PASS: TestHandler_RevokeCert/fail/account-not-valid (0.00s) --- PASS: TestHandler_RevokeCert/fail/prov.AuthorizeRevoke (0.00s) --- PASS: TestHandler_RevokeCert/fail/ca.Revoke (0.00s) --- PASS: TestHandler_RevokeCert/fail/unmarshal-payload (0.00s) --- PASS: TestHandler_RevokeCert/fail/no-certificate-encoded (0.00s) --- PASS: TestHandler_RevokeCert/fail/certificate-revoked-check-fails (0.00s) --- PASS: TestHandler_RevokeCert/fail/nil-payload (0.00s) --- PASS: TestHandler_RevokeCert/fail/wrong-certificate-encoding (0.00s) --- PASS: TestHandler_RevokeCert/fail/nil-account (0.00s) --- PASS: TestHandler_RevokeCert/fail/unauthorized-certificate-key (0.02s) --- PASS: TestHandler_RevokeCert/fail/no-jws (0.00s) --- PASS: TestHandler_RevokeCert/fail/no-provisioner (0.00s) --- PASS: TestHandler_RevokeCert/fail/no-payload (0.00s) --- PASS: TestHandler_RevokeCert/fail/account-not-authorized (0.00s) --- PASS: TestHandler_RevokeCert/fail/invalid-reasoncode (0.00s) --- PASS: TestHandler_RevokeCert/fail/ca.Revoke-already-revoked (0.00s) --- PASS: TestHandler_RevokeCert/ok/using-certificate-key (0.01s) --- PASS: TestHandler_RevokeCert/fail/nil-provisioner (0.00s) --- PASS: TestHandler_RevokeCert/fail/db.GetCertificateBySerial (0.00s) --- PASS: TestHandler_RevokeCert/fail/different-certificate-contents (0.00s) === RUN TestHandler_isAccountAuthorized === RUN TestHandler_isAccountAuthorized/fail/different-account === RUN TestHandler_isAccountAuthorized/ok === RUN TestHandler_isAccountAuthorized/fail/account-invalid --- PASS: TestHandler_isAccountAuthorized (0.00s) --- PASS: TestHandler_isAccountAuthorized/fail/different-account (0.00s) --- PASS: TestHandler_isAccountAuthorized/ok (0.00s) --- PASS: TestHandler_isAccountAuthorized/fail/account-invalid (0.00s) === RUN Test_wrapUnauthorizedError === RUN Test_wrapUnauthorizedError/default === RUN Test_wrapUnauthorizedError/unauthorizedIdentifiers === RUN Test_wrapUnauthorizedError/subject === RUN Test_wrapUnauthorizedError/wrap-subject --- PASS: Test_wrapUnauthorizedError (0.00s) --- PASS: Test_wrapUnauthorizedError/default (0.00s) --- PASS: Test_wrapUnauthorizedError/unauthorizedIdentifiers (0.00s) --- PASS: Test_wrapUnauthorizedError/subject (0.00s) --- PASS: Test_wrapUnauthorizedError/wrap-subject (0.00s) PASS ok github.com/smallstep/certificates/acme/api 12.462s === RUN TestDB_getDBAccount === RUN TestDB_getDBAccount/ok === RUN TestDB_getDBAccount/fail/not-found === RUN TestDB_getDBAccount/fail/db.Get-error === RUN TestDB_getDBAccount/fail/unmarshal-error --- PASS: TestDB_getDBAccount (0.05s) --- PASS: TestDB_getDBAccount/ok (0.00s) --- PASS: TestDB_getDBAccount/fail/not-found (0.00s) --- PASS: TestDB_getDBAccount/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBAccount/fail/unmarshal-error (0.00s) === RUN TestDB_getAccountIDByKeyID === RUN TestDB_getAccountIDByKeyID/fail/not-found === RUN TestDB_getAccountIDByKeyID/fail/db.Get-error === RUN TestDB_getAccountIDByKeyID/ok --- PASS: TestDB_getAccountIDByKeyID (0.00s) --- PASS: TestDB_getAccountIDByKeyID/fail/not-found (0.00s) --- PASS: TestDB_getAccountIDByKeyID/fail/db.Get-error (0.00s) --- PASS: TestDB_getAccountIDByKeyID/ok (0.00s) === RUN TestDB_GetAccount === RUN TestDB_GetAccount/fail/db.Get-error === RUN TestDB_GetAccount/ok --- PASS: TestDB_GetAccount (0.00s) --- PASS: TestDB_GetAccount/fail/db.Get-error (0.00s) --- PASS: TestDB_GetAccount/ok (0.00s) === RUN TestDB_GetAccountByKeyID === RUN TestDB_GetAccountByKeyID/ok === RUN TestDB_GetAccountByKeyID/fail/db.getAccountIDByKeyID-error === RUN TestDB_GetAccountByKeyID/fail/db.GetAccount-error --- PASS: TestDB_GetAccountByKeyID (0.01s) --- PASS: TestDB_GetAccountByKeyID/ok (0.00s) --- PASS: TestDB_GetAccountByKeyID/fail/db.getAccountIDByKeyID-error (0.00s) --- PASS: TestDB_GetAccountByKeyID/fail/db.GetAccount-error (0.00s) === RUN TestDB_CreateAccount === RUN TestDB_CreateAccount/fail/keyID-cmpAndSwap-false === RUN TestDB_CreateAccount/fail/account-save-error === RUN TestDB_CreateAccount/ok === RUN TestDB_CreateAccount/fail/keyID-cmpAndSwap-error --- PASS: TestDB_CreateAccount (0.02s) --- PASS: TestDB_CreateAccount/fail/keyID-cmpAndSwap-false (0.00s) --- PASS: TestDB_CreateAccount/fail/account-save-error (0.00s) --- PASS: TestDB_CreateAccount/ok (0.00s) --- PASS: TestDB_CreateAccount/fail/keyID-cmpAndSwap-error (0.00s) === RUN TestDB_UpdateAccount === RUN TestDB_UpdateAccount/fail/db.Get-error === RUN TestDB_UpdateAccount/fail/already-deactivated === RUN TestDB_UpdateAccount/fail/db.CmpAndSwap-error === RUN TestDB_UpdateAccount/ok --- PASS: TestDB_UpdateAccount (0.01s) --- PASS: TestDB_UpdateAccount/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateAccount/fail/already-deactivated (0.00s) --- PASS: TestDB_UpdateAccount/fail/db.CmpAndSwap-error (0.00s) --- PASS: TestDB_UpdateAccount/ok (0.00s) === RUN TestDB_getDBAuthz === RUN TestDB_getDBAuthz/fail/not-found === RUN TestDB_getDBAuthz/fail/db.Get-error === RUN TestDB_getDBAuthz/fail/unmarshal-error === RUN TestDB_getDBAuthz/ok --- PASS: TestDB_getDBAuthz (0.01s) --- PASS: TestDB_getDBAuthz/fail/not-found (0.00s) --- PASS: TestDB_getDBAuthz/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBAuthz/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBAuthz/ok (0.00s) === RUN TestDB_GetAuthorization === RUN TestDB_GetAuthorization/fail/db.GetChallenge-not-found === RUN TestDB_GetAuthorization/ok === RUN TestDB_GetAuthorization/fail/db.Get-error === RUN TestDB_GetAuthorization/fail/forward-acme-error === RUN TestDB_GetAuthorization/fail/db.GetChallenge-error --- PASS: TestDB_GetAuthorization (0.01s) --- PASS: TestDB_GetAuthorization/fail/db.GetChallenge-not-found (0.00s) --- PASS: TestDB_GetAuthorization/ok (0.00s) --- PASS: TestDB_GetAuthorization/fail/db.Get-error (0.00s) --- PASS: TestDB_GetAuthorization/fail/forward-acme-error (0.00s) --- PASS: TestDB_GetAuthorization/fail/db.GetChallenge-error (0.00s) === RUN TestDB_CreateAuthorization === RUN TestDB_CreateAuthorization/fail/cmpAndSwap-error === RUN TestDB_CreateAuthorization/ok --- PASS: TestDB_CreateAuthorization (0.00s) --- PASS: TestDB_CreateAuthorization/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateAuthorization/ok (0.00s) === RUN TestDB_UpdateAuthorization === RUN TestDB_UpdateAuthorization/fail/db.CmpAndSwap-error === RUN TestDB_UpdateAuthorization/ok === RUN TestDB_UpdateAuthorization/fail/db.Get-error --- PASS: TestDB_UpdateAuthorization (0.00s) --- PASS: TestDB_UpdateAuthorization/fail/db.CmpAndSwap-error (0.00s) --- PASS: TestDB_UpdateAuthorization/ok (0.00s) --- PASS: TestDB_UpdateAuthorization/fail/db.Get-error (0.00s) === RUN TestDB_GetAuthorizationsByAccountID === RUN TestDB_GetAuthorizationsByAccountID/ok/skip-different-account === RUN TestDB_GetAuthorizationsByAccountID/fail/db.List-error === RUN TestDB_GetAuthorizationsByAccountID/fail/unmarshal === RUN TestDB_GetAuthorizationsByAccountID/ok --- PASS: TestDB_GetAuthorizationsByAccountID (0.01s) --- PASS: TestDB_GetAuthorizationsByAccountID/ok/skip-different-account (0.00s) --- PASS: TestDB_GetAuthorizationsByAccountID/fail/db.List-error (0.00s) --- PASS: TestDB_GetAuthorizationsByAccountID/fail/unmarshal (0.00s) --- PASS: TestDB_GetAuthorizationsByAccountID/ok (0.00s) === RUN TestDB_CreateCertificate === RUN TestDB_CreateCertificate/fail/cmpAndSwap-error === RUN TestDB_CreateCertificate/ok --- PASS: TestDB_CreateCertificate (0.02s) --- PASS: TestDB_CreateCertificate/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateCertificate/ok (0.00s) === RUN TestDB_GetCertificate === RUN TestDB_GetCertificate/ok === RUN TestDB_GetCertificate/fail/not-found === RUN TestDB_GetCertificate/fail/db.Get-error === RUN TestDB_GetCertificate/fail/unmarshal-error === RUN TestDB_GetCertificate/fail/parseBundle-error --- PASS: TestDB_GetCertificate (0.02s) --- PASS: TestDB_GetCertificate/ok (0.01s) --- PASS: TestDB_GetCertificate/fail/not-found (0.00s) --- PASS: TestDB_GetCertificate/fail/db.Get-error (0.00s) --- PASS: TestDB_GetCertificate/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetCertificate/fail/parseBundle-error (0.00s) === RUN Test_parseBundle === RUN Test_parseBundle/ok === RUN Test_parseBundle/fail/bad-type-error === RUN Test_parseBundle/fail/bad-pem-error === RUN Test_parseBundle/fail/unexpected-data --- PASS: Test_parseBundle (0.02s) --- PASS: Test_parseBundle/ok (0.00s) --- PASS: Test_parseBundle/fail/bad-type-error (0.00s) --- PASS: Test_parseBundle/fail/bad-pem-error (0.00s) --- PASS: Test_parseBundle/fail/unexpected-data (0.00s) === RUN TestDB_GetCertificateBySerial === RUN TestDB_GetCertificateBySerial/fail/not-found === RUN TestDB_GetCertificateBySerial/fail/db-error === RUN TestDB_GetCertificateBySerial/fail/unmarshal-dbSerial === RUN TestDB_GetCertificateBySerial/ok --- PASS: TestDB_GetCertificateBySerial (0.01s) --- PASS: TestDB_GetCertificateBySerial/fail/not-found (0.00s) --- PASS: TestDB_GetCertificateBySerial/fail/db-error (0.00s) --- PASS: TestDB_GetCertificateBySerial/fail/unmarshal-dbSerial (0.00s) --- PASS: TestDB_GetCertificateBySerial/ok (0.01s) === RUN TestDB_getDBChallenge === RUN TestDB_getDBChallenge/fail/not-found === RUN TestDB_getDBChallenge/fail/db.Get-error === RUN TestDB_getDBChallenge/fail/unmarshal-error === RUN TestDB_getDBChallenge/ok --- PASS: TestDB_getDBChallenge (0.00s) --- PASS: TestDB_getDBChallenge/fail/not-found (0.00s) --- PASS: TestDB_getDBChallenge/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBChallenge/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBChallenge/ok (0.00s) === RUN TestDB_CreateChallenge === RUN TestDB_CreateChallenge/fail/cmpAndSwap-error === RUN TestDB_CreateChallenge/ok --- PASS: TestDB_CreateChallenge (0.00s) --- PASS: TestDB_CreateChallenge/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateChallenge/ok (0.00s) === RUN TestDB_GetChallenge === RUN TestDB_GetChallenge/fail/db.Get-error === RUN TestDB_GetChallenge/fail/forward-acme-error === RUN TestDB_GetChallenge/ok --- PASS: TestDB_GetChallenge (0.01s) --- PASS: TestDB_GetChallenge/fail/db.Get-error (0.00s) --- PASS: TestDB_GetChallenge/fail/forward-acme-error (0.00s) --- PASS: TestDB_GetChallenge/ok (0.00s) === RUN TestDB_UpdateChallenge === RUN TestDB_UpdateChallenge/fail/db.Get-error === RUN TestDB_UpdateChallenge/fail/db.CmpAndSwap-error === RUN TestDB_UpdateChallenge/ok --- PASS: TestDB_UpdateChallenge (0.02s) --- PASS: TestDB_UpdateChallenge/fail/db.Get-error (0.01s) --- PASS: TestDB_UpdateChallenge/fail/db.CmpAndSwap-error (0.00s) --- PASS: TestDB_UpdateChallenge/ok (0.00s) === RUN TestDB_getDBExternalAccountKey === RUN TestDB_getDBExternalAccountKey/ok === RUN TestDB_getDBExternalAccountKey/fail/not-found === RUN TestDB_getDBExternalAccountKey/fail/db.Get-error === RUN TestDB_getDBExternalAccountKey/fail/unmarshal-error --- PASS: TestDB_getDBExternalAccountKey (0.00s) --- PASS: TestDB_getDBExternalAccountKey/ok (0.00s) --- PASS: TestDB_getDBExternalAccountKey/fail/not-found (0.00s) --- PASS: TestDB_getDBExternalAccountKey/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBExternalAccountKey/fail/unmarshal-error (0.00s) === RUN TestDB_GetExternalAccountKey === RUN TestDB_GetExternalAccountKey/fail/non-matching-provisioner === RUN TestDB_GetExternalAccountKey/ok === RUN TestDB_GetExternalAccountKey/fail/db.Get-error --- PASS: TestDB_GetExternalAccountKey (0.00s) --- PASS: TestDB_GetExternalAccountKey/fail/non-matching-provisioner (0.00s) --- PASS: TestDB_GetExternalAccountKey/ok (0.00s) --- PASS: TestDB_GetExternalAccountKey/fail/db.Get-error (0.00s) === RUN TestDB_GetExternalAccountKeyByReference === RUN TestDB_GetExternalAccountKeyByReference/fail/reference-not-found === RUN TestDB_GetExternalAccountKeyByReference/fail/reference-load-error === RUN TestDB_GetExternalAccountKeyByReference/fail/reference-unmarshal-error === RUN TestDB_GetExternalAccountKeyByReference/fail/db.GetExternalAccountKey-error === RUN TestDB_GetExternalAccountKeyByReference/ok === RUN TestDB_GetExternalAccountKeyByReference/ok/no-reference --- PASS: TestDB_GetExternalAccountKeyByReference (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/reference-not-found (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/reference-load-error (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/reference-unmarshal-error (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/fail/db.GetExternalAccountKey-error (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/ok (0.00s) --- PASS: TestDB_GetExternalAccountKeyByReference/ok/no-reference (0.00s) === RUN TestDB_GetExternalAccountKeys === RUN TestDB_GetExternalAccountKeys/ok === RUN TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable === RUN TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable-unmarshal === RUN TestDB_GetExternalAccountKeys/fail/db.getDBExternalAccountKey --- PASS: TestDB_GetExternalAccountKeys (0.00s) --- PASS: TestDB_GetExternalAccountKeys/ok (0.00s) --- PASS: TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable (0.00s) --- PASS: TestDB_GetExternalAccountKeys/fail/db.Get-externalAccountKeysByProvisionerIDTable-unmarshal (0.00s) --- PASS: TestDB_GetExternalAccountKeys/fail/db.getDBExternalAccountKey (0.00s) === RUN TestDB_DeleteExternalAccountKey === RUN TestDB_DeleteExternalAccountKey/fail/delete-eakID === RUN TestDB_DeleteExternalAccountKey/ok acme_external_account_keyID_provisionerID_index === RUN TestDB_DeleteExternalAccountKey/fail/not-found === RUN TestDB_DeleteExternalAccountKey/fail/non-matching-provisioner === RUN TestDB_DeleteExternalAccountKey/fail/delete-reference === RUN TestDB_DeleteExternalAccountKey/fail/delete-eak --- PASS: TestDB_DeleteExternalAccountKey (0.01s) --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-eakID (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/ok (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/not-found (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/non-matching-provisioner (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-reference (0.00s) --- PASS: TestDB_DeleteExternalAccountKey/fail/delete-eak (0.00s) === RUN TestDB_CreateExternalAccountKey === RUN TestDB_CreateExternalAccountKey/ok === RUN TestDB_CreateExternalAccountKey/fail/externalAccountKeyID-cmpAndSwap-error === RUN TestDB_CreateExternalAccountKey/fail/addEAKID-error === RUN TestDB_CreateExternalAccountKey/fail/externalAccountKeyReference-cmpAndSwap-error --- PASS: TestDB_CreateExternalAccountKey (0.00s) --- PASS: TestDB_CreateExternalAccountKey/ok (0.00s) --- PASS: TestDB_CreateExternalAccountKey/fail/externalAccountKeyID-cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateExternalAccountKey/fail/addEAKID-error (0.00s) --- PASS: TestDB_CreateExternalAccountKey/fail/externalAccountKeyReference-cmpAndSwap-error (0.00s) === RUN TestDB_UpdateExternalAccountKey === RUN TestDB_UpdateExternalAccountKey/ok === RUN TestDB_UpdateExternalAccountKey/fail/db.Get-error === RUN TestDB_UpdateExternalAccountKey/fail/provisioner-mismatch === RUN TestDB_UpdateExternalAccountKey/fail/provisioner-change === RUN TestDB_UpdateExternalAccountKey/fail/reference-change --- PASS: TestDB_UpdateExternalAccountKey (0.02s) --- PASS: TestDB_UpdateExternalAccountKey/ok (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/provisioner-mismatch (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/provisioner-change (0.00s) --- PASS: TestDB_UpdateExternalAccountKey/fail/reference-change (0.00s) === RUN TestDB_addEAKID === RUN TestDB_addEAKID/fail/db.save === RUN TestDB_addEAKID/ok/db.Get-not-found === RUN TestDB_addEAKID/ok === RUN TestDB_addEAKID/fail/empty-eakID === RUN TestDB_addEAKID/fail/db.Get === RUN TestDB_addEAKID/fail/unmarshal === RUN TestDB_addEAKID/fail/eakID-already-exists --- PASS: TestDB_addEAKID (0.01s) --- PASS: TestDB_addEAKID/fail/db.save (0.00s) --- PASS: TestDB_addEAKID/ok/db.Get-not-found (0.00s) --- PASS: TestDB_addEAKID/ok (0.00s) --- PASS: TestDB_addEAKID/fail/empty-eakID (0.00s) --- PASS: TestDB_addEAKID/fail/db.Get (0.00s) --- PASS: TestDB_addEAKID/fail/unmarshal (0.00s) --- PASS: TestDB_addEAKID/fail/eakID-already-exists (0.00s) === RUN TestDB_deleteEAKID === RUN TestDB_deleteEAKID/ok/db.Get-not-found === RUN TestDB_deleteEAKID/ok === RUN TestDB_deleteEAKID/fail/db.Get === RUN TestDB_deleteEAKID/fail/unmarshal === RUN TestDB_deleteEAKID/fail/db.save --- PASS: TestDB_deleteEAKID (0.00s) --- PASS: TestDB_deleteEAKID/ok/db.Get-not-found (0.00s) --- PASS: TestDB_deleteEAKID/ok (0.00s) --- PASS: TestDB_deleteEAKID/fail/db.Get (0.00s) --- PASS: TestDB_deleteEAKID/fail/unmarshal (0.00s) --- PASS: TestDB_deleteEAKID/fail/db.save (0.00s) === RUN TestDB_addAndDeleteEAKID === RUN TestDB_addAndDeleteEAKID/ok/multi --- PASS: TestDB_addAndDeleteEAKID (0.00s) --- PASS: TestDB_addAndDeleteEAKID/ok/multi (0.00s) === RUN Test_removeElement === RUN Test_removeElement/remove-first === RUN Test_removeElement/remove-last === RUN Test_removeElement/remove-middle === RUN Test_removeElement/remove-non-existing --- PASS: Test_removeElement (0.00s) --- PASS: Test_removeElement/remove-first (0.00s) --- PASS: Test_removeElement/remove-last (0.00s) --- PASS: Test_removeElement/remove-middle (0.00s) --- PASS: Test_removeElement/remove-non-existing (0.00s) === RUN TestDB_CreateNonce === RUN TestDB_CreateNonce/fail/cmpAndSwap-error === RUN TestDB_CreateNonce/ok --- PASS: TestDB_CreateNonce (0.00s) --- PASS: TestDB_CreateNonce/fail/cmpAndSwap-error (0.00s) --- PASS: TestDB_CreateNonce/ok (0.00s) === RUN TestDB_DeleteNonce === RUN TestDB_DeleteNonce/fail/not-found === RUN TestDB_DeleteNonce/fail/db.Update-error === RUN TestDB_DeleteNonce/ok --- PASS: TestDB_DeleteNonce (0.00s) --- PASS: TestDB_DeleteNonce/fail/not-found (0.00s) --- PASS: TestDB_DeleteNonce/fail/db.Update-error (0.00s) --- PASS: TestDB_DeleteNonce/ok (0.00s) === RUN TestNew === RUN TestNew/fail/db.CreateTable-error === RUN TestNew/ok --- PASS: TestNew (0.00s) --- PASS: TestNew/fail/db.CreateTable-error (0.00s) --- PASS: TestNew/ok (0.00s) === RUN TestDB_save === RUN TestDB_save/fail/db.CmpAndSwap-false-marshaling-old === RUN TestDB_save/ok === RUN TestDB_save/ok/nils === RUN TestDB_save/fail/error-marshaling-new === RUN TestDB_save/fail/error-marshaling-old === RUN TestDB_save/fail/db.CmpAndSwap-error --- PASS: TestDB_save (0.00s) --- PASS: TestDB_save/fail/db.CmpAndSwap-false-marshaling-old (0.00s) --- PASS: TestDB_save/ok (0.00s) --- PASS: TestDB_save/ok/nils (0.00s) --- PASS: TestDB_save/fail/error-marshaling-new (0.00s) --- PASS: TestDB_save/fail/error-marshaling-old (0.00s) --- PASS: TestDB_save/fail/db.CmpAndSwap-error (0.00s) === RUN TestDB_getDBOrder === RUN TestDB_getDBOrder/fail/not-found === RUN TestDB_getDBOrder/fail/db.Get-error === RUN TestDB_getDBOrder/fail/unmarshal-error === RUN TestDB_getDBOrder/ok --- PASS: TestDB_getDBOrder (0.00s) --- PASS: TestDB_getDBOrder/fail/not-found (0.00s) --- PASS: TestDB_getDBOrder/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBOrder/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBOrder/ok (0.00s) === RUN TestDB_GetOrder === RUN TestDB_GetOrder/fail/db.Get-error === RUN TestDB_GetOrder/fail/forward-acme-error === RUN TestDB_GetOrder/ok --- PASS: TestDB_GetOrder (0.00s) --- PASS: TestDB_GetOrder/fail/db.Get-error (0.00s) --- PASS: TestDB_GetOrder/fail/forward-acme-error (0.00s) --- PASS: TestDB_GetOrder/ok (0.00s) === RUN TestDB_UpdateOrder === RUN TestDB_UpdateOrder/ok === RUN TestDB_UpdateOrder/fail/db.Get-error === RUN TestDB_UpdateOrder/fail/save-error --- PASS: TestDB_UpdateOrder (0.00s) --- PASS: TestDB_UpdateOrder/ok (0.00s) --- PASS: TestDB_UpdateOrder/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateOrder/fail/save-error (0.00s) === RUN TestDB_CreateOrder === RUN TestDB_CreateOrder/fail/order-save-error === RUN TestDB_CreateOrder/fail/orderIDsByOrderUpdate-error === RUN TestDB_CreateOrder/ok --- PASS: TestDB_CreateOrder (0.00s) --- PASS: TestDB_CreateOrder/fail/order-save-error (0.00s) --- PASS: TestDB_CreateOrder/fail/orderIDsByOrderUpdate-error (0.00s) --- PASS: TestDB_CreateOrder/ok (0.00s) === RUN TestDB_updateAddOrderIDs === RUN TestDB_updateAddOrderIDs/fail/update-order-status-error === RUN TestDB_updateAddOrderIDs/ok/no-old === RUN TestDB_updateAddOrderIDs/ok/old-and-new-2 === RUN TestDB_updateAddOrderIDs/fail/db.Get-order-error === RUN TestDB_updateAddOrderIDs/fail/unmarshal-error === RUN TestDB_updateAddOrderIDs/fail/db.save-order-error === RUN TestDB_updateAddOrderIDs/ok/all-old-not-pending === RUN TestDB_updateAddOrderIDs/ok/old-and-new === RUN TestDB_updateAddOrderIDs/fail/db.Get-error --- PASS: TestDB_updateAddOrderIDs (0.02s) --- PASS: TestDB_updateAddOrderIDs/fail/update-order-status-error (0.00s) --- PASS: TestDB_updateAddOrderIDs/ok/no-old (0.00s) --- PASS: TestDB_updateAddOrderIDs/ok/old-and-new-2 (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/db.Get-order-error (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/unmarshal-error (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/db.save-order-error (0.00s) --- PASS: TestDB_updateAddOrderIDs/ok/all-old-not-pending (0.00s) --- PASS: TestDB_updateAddOrderIDs/ok/old-and-new (0.00s) --- PASS: TestDB_updateAddOrderIDs/fail/db.Get-error (0.00s) PASS ok github.com/smallstep/certificates/acme/db/nosql 0.728s === RUN TestNewCertificate --- PASS: TestNewCertificate (0.01s) === RUN TestCertificate_MarshalJSON === RUN TestCertificate_MarshalJSON/nil === RUN TestCertificate_MarshalJSON/empty === RUN TestCertificate_MarshalJSON/root === RUN TestCertificate_MarshalJSON/cert --- PASS: TestCertificate_MarshalJSON (0.00s) --- PASS: TestCertificate_MarshalJSON/nil (0.00s) --- PASS: TestCertificate_MarshalJSON/empty (0.00s) --- PASS: TestCertificate_MarshalJSON/root (0.00s) --- PASS: TestCertificate_MarshalJSON/cert (0.00s) === RUN TestCertificate_UnmarshalJSON === RUN TestCertificate_UnmarshalJSON/no_data === RUN TestCertificate_UnmarshalJSON/incomplete_string_1 === RUN TestCertificate_UnmarshalJSON/incomplete_string_2 === RUN TestCertificate_UnmarshalJSON/invalid_string === RUN TestCertificate_UnmarshalJSON/invalid_bytes_0 === RUN TestCertificate_UnmarshalJSON/invalid_bytes_1 === RUN TestCertificate_UnmarshalJSON/empty_csr === RUN TestCertificate_UnmarshalJSON/invalid_type === RUN TestCertificate_UnmarshalJSON/empty_string === RUN TestCertificate_UnmarshalJSON/json_null === RUN TestCertificate_UnmarshalJSON/valid_root === RUN TestCertificate_UnmarshalJSON/valid_cert --- PASS: TestCertificate_UnmarshalJSON (0.01s) --- PASS: TestCertificate_UnmarshalJSON/no_data (0.00s) --- PASS: TestCertificate_UnmarshalJSON/incomplete_string_1 (0.00s) --- PASS: TestCertificate_UnmarshalJSON/incomplete_string_2 (0.00s) --- PASS: TestCertificate_UnmarshalJSON/invalid_string (0.00s) --- PASS: TestCertificate_UnmarshalJSON/invalid_bytes_0 (0.00s) --- PASS: TestCertificate_UnmarshalJSON/invalid_bytes_1 (0.00s) --- PASS: TestCertificate_UnmarshalJSON/empty_csr (0.00s) --- PASS: TestCertificate_UnmarshalJSON/invalid_type (0.00s) --- PASS: TestCertificate_UnmarshalJSON/empty_string (0.00s) --- PASS: TestCertificate_UnmarshalJSON/json_null (0.00s) --- PASS: TestCertificate_UnmarshalJSON/valid_root (0.00s) --- PASS: TestCertificate_UnmarshalJSON/valid_cert (0.00s) === RUN TestCertificate_UnmarshalJSON_json === RUN TestCertificate_UnmarshalJSON_json/invalid_type_(bool) === RUN TestCertificate_UnmarshalJSON_json/invalid_type_(number) === RUN TestCertificate_UnmarshalJSON_json/invalid_type_(object) === RUN TestCertificate_UnmarshalJSON_json/empty_crt_(null) === RUN TestCertificate_UnmarshalJSON_json/empty_crt_(string) === RUN TestCertificate_UnmarshalJSON_json/empty_crt === RUN TestCertificate_UnmarshalJSON_json/valid_crt --- PASS: TestCertificate_UnmarshalJSON_json (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/invalid_type_(bool) (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/invalid_type_(number) (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/invalid_type_(object) (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/empty_crt_(null) (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/empty_crt_(string) (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/empty_crt (0.00s) --- PASS: TestCertificate_UnmarshalJSON_json/valid_crt (0.00s) === RUN TestNewCertificateRequest --- PASS: TestNewCertificateRequest (0.00s) === RUN TestCertificateRequest_MarshalJSON === RUN TestCertificateRequest_MarshalJSON/nil === RUN TestCertificateRequest_MarshalJSON/empty === RUN TestCertificateRequest_MarshalJSON/csr --- PASS: TestCertificateRequest_MarshalJSON (0.00s) --- PASS: TestCertificateRequest_MarshalJSON/nil (0.00s) --- PASS: TestCertificateRequest_MarshalJSON/empty (0.00s) --- PASS: TestCertificateRequest_MarshalJSON/csr (0.00s) === RUN TestCertificateRequest_UnmarshalJSON === RUN TestCertificateRequest_UnmarshalJSON/no_data === RUN TestCertificateRequest_UnmarshalJSON/incomplete_string_1 === RUN TestCertificateRequest_UnmarshalJSON/incomplete_string_2 === RUN TestCertificateRequest_UnmarshalJSON/invalid_string === RUN TestCertificateRequest_UnmarshalJSON/invalid_bytes_0 === RUN TestCertificateRequest_UnmarshalJSON/invalid_bytes_1 === RUN TestCertificateRequest_UnmarshalJSON/empty_csr === RUN TestCertificateRequest_UnmarshalJSON/invalid_type === RUN TestCertificateRequest_UnmarshalJSON/empty_string === RUN TestCertificateRequest_UnmarshalJSON/json_null === RUN TestCertificateRequest_UnmarshalJSON/valid_csr --- PASS: TestCertificateRequest_UnmarshalJSON (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/no_data (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/incomplete_string_1 (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/incomplete_string_2 (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/invalid_string (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/invalid_bytes_0 (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/invalid_bytes_1 (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/empty_csr (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/invalid_type (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/empty_string (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/json_null (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON/valid_csr (0.00s) === RUN TestCertificateRequest_UnmarshalJSON_json === RUN TestCertificateRequest_UnmarshalJSON_json/invalid_type_(bool) === RUN TestCertificateRequest_UnmarshalJSON_json/invalid_type_(number) === RUN TestCertificateRequest_UnmarshalJSON_json/invalid_type_(object) === RUN TestCertificateRequest_UnmarshalJSON_json/empty_csr_(null) === RUN TestCertificateRequest_UnmarshalJSON_json/empty_csr_(string) === RUN TestCertificateRequest_UnmarshalJSON_json/empty_csr === RUN TestCertificateRequest_UnmarshalJSON_json/valid_csr --- PASS: TestCertificateRequest_UnmarshalJSON_json (0.04s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/invalid_type_(bool) (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/invalid_type_(number) (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/invalid_type_(object) (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/empty_csr_(null) (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/empty_csr_(string) (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/empty_csr (0.00s) --- PASS: TestCertificateRequest_UnmarshalJSON_json/valid_csr (0.03s) === RUN TestSignRequest_Validate === RUN TestSignRequest_Validate/missing_csr === RUN TestSignRequest_Validate/invalid_csr === RUN TestSignRequest_Validate/missing_ott --- PASS: TestSignRequest_Validate (0.02s) --- PASS: TestSignRequest_Validate/missing_csr (0.00s) --- PASS: TestSignRequest_Validate/invalid_csr (0.01s) --- PASS: TestSignRequest_Validate/missing_ott (0.00s) === RUN Test_CRLGeneration === RUN Test_CRLGeneration/empty --- PASS: Test_CRLGeneration (0.00s) --- PASS: Test_CRLGeneration/empty (0.00s) === RUN Test_caHandler_Route === RUN Test_caHandler_Route/ok --- PASS: Test_caHandler_Route (0.00s) --- PASS: Test_caHandler_Route/ok (0.00s) === RUN Test_Health --- PASS: Test_Health (0.00s) === RUN Test_Root === RUN Test_Root/ok === RUN Test_Root/fail --- PASS: Test_Root (0.00s) --- PASS: Test_Root/ok (0.00s) --- PASS: Test_Root/fail (0.00s) === RUN Test_Sign === RUN Test_Sign/ok === RUN Test_Sign/ok_with_Provisioner === RUN Test_Sign/json_read_error === RUN Test_Sign/validate_error === RUN Test_Sign/authorize_error === RUN Test_Sign/sign_error --- PASS: Test_Sign (0.12s) --- PASS: Test_Sign/ok (0.03s) --- PASS: Test_Sign/ok_with_Provisioner (0.01s) --- PASS: Test_Sign/json_read_error (0.00s) --- PASS: Test_Sign/validate_error (0.02s) --- PASS: Test_Sign/authorize_error (0.02s) --- PASS: Test_Sign/sign_error (0.01s) === RUN Test_Renew === RUN Test_Renew/ok === RUN Test_Renew/ok_renew_after_expiry === RUN Test_Renew/no_tls === RUN Test_Renew/no_peer_certificates === RUN Test_Renew/renew_error === RUN Test_Renew/fail_expired_token === RUN Test_Renew/fail_invalid_root --- PASS: Test_Renew (0.18s) --- PASS: Test_Renew/ok (0.01s) --- PASS: Test_Renew/ok_renew_after_expiry (0.04s) --- PASS: Test_Renew/no_tls (0.00s) --- PASS: Test_Renew/no_peer_certificates (0.00s) --- PASS: Test_Renew/renew_error (0.00s) --- PASS: Test_Renew/fail_expired_token (0.00s) --- PASS: Test_Renew/fail_invalid_root (0.02s) === RUN Test_Rekey === RUN Test_Rekey/ok === RUN Test_Rekey/no_tls === RUN Test_Rekey/no_peer_certificates === RUN Test_Rekey/rekey_error === RUN Test_Rekey/json_read_error --- PASS: Test_Rekey (0.08s) --- PASS: Test_Rekey/ok (0.02s) --- PASS: Test_Rekey/no_tls (0.00s) --- PASS: Test_Rekey/no_peer_certificates (0.00s) --- PASS: Test_Rekey/rekey_error (0.01s) --- PASS: Test_Rekey/json_read_error (0.00s) === RUN Test_Provisioners === RUN Test_Provisioners/ok === RUN Test_Provisioners/fail === RUN Test_Provisioners/limit_fail --- PASS: Test_Provisioners (0.02s) --- PASS: Test_Provisioners/ok (0.00s) --- PASS: Test_Provisioners/fail (0.00s) --- PASS: Test_Provisioners/limit_fail (0.00s) === RUN Test_ProvisionerKey === RUN Test_ProvisionerKey/ok === RUN Test_ProvisionerKey/fail --- PASS: Test_ProvisionerKey (0.00s) --- PASS: Test_ProvisionerKey/ok (0.00s) --- PASS: Test_ProvisionerKey/fail (0.00s) === RUN Test_Roots === RUN Test_Roots/ok === RUN Test_Roots/no_peer_certificates === RUN Test_Roots/fail --- PASS: Test_Roots (0.01s) --- PASS: Test_Roots/ok (0.00s) --- PASS: Test_Roots/no_peer_certificates (0.00s) --- PASS: Test_Roots/fail (0.00s) === RUN Test_caHandler_RootsPEM === RUN Test_caHandler_RootsPEM/one_root === RUN Test_caHandler_RootsPEM/two_roots === RUN Test_caHandler_RootsPEM/fail --- PASS: Test_caHandler_RootsPEM (0.00s) --- PASS: Test_caHandler_RootsPEM/one_root (0.00s) --- PASS: Test_caHandler_RootsPEM/two_roots (0.00s) --- PASS: Test_caHandler_RootsPEM/fail (0.00s) === RUN Test_Federation === RUN Test_Federation/ok === RUN Test_Federation/no_peer_certificates === RUN Test_Federation/fail --- PASS: Test_Federation (0.01s) --- PASS: Test_Federation/ok (0.00s) --- PASS: Test_Federation/no_peer_certificates (0.00s) --- PASS: Test_Federation/fail (0.00s) === RUN Test_fmtPublicKey === RUN Test_fmtPublicKey/p256 === RUN Test_fmtPublicKey/rsa2048 === RUN Test_fmtPublicKey/ed25519 === RUN Test_fmtPublicKey/dsa2048 === RUN Test_fmtPublicKey/unknown --- PASS: Test_fmtPublicKey (29.14s) --- PASS: Test_fmtPublicKey/p256 (0.03s) --- PASS: Test_fmtPublicKey/rsa2048 (0.11s) --- PASS: Test_fmtPublicKey/ed25519 (0.01s) --- PASS: Test_fmtPublicKey/dsa2048 (0.00s) --- PASS: Test_fmtPublicKey/unknown (0.00s) === RUN TestRevokeRequestValidate === RUN TestRevokeRequestValidate/error/non-passive_not_implemented === RUN TestRevokeRequestValidate/ok === RUN TestRevokeRequestValidate/error/missing_serial === RUN TestRevokeRequestValidate/error/bad_sn === RUN TestRevokeRequestValidate/error/bad_reasonCode --- PASS: TestRevokeRequestValidate (0.00s) --- PASS: TestRevokeRequestValidate/error/non-passive_not_implemented (0.00s) --- PASS: TestRevokeRequestValidate/ok (0.00s) --- PASS: TestRevokeRequestValidate/error/missing_serial (0.00s) --- PASS: TestRevokeRequestValidate/error/bad_sn (0.00s) --- PASS: TestRevokeRequestValidate/error/bad_reasonCode (0.00s) === RUN Test_caHandler_Revoke === RUN Test_caHandler_Revoke/200/ott === RUN Test_caHandler_Revoke/400/no_OTT_and_no_peer_certificate === RUN Test_caHandler_Revoke/200/no_ott === RUN Test_caHandler_Revoke/500/ott_authority.Revoke === RUN Test_caHandler_Revoke/403/ott_authority.Revoke === RUN Test_caHandler_Revoke/400/json_read_error === RUN Test_caHandler_Revoke/400/invalid_request_body --- PASS: Test_caHandler_Revoke (0.00s) --- PASS: Test_caHandler_Revoke/200/ott (0.00s) --- PASS: Test_caHandler_Revoke/400/no_OTT_and_no_peer_certificate (0.00s) --- PASS: Test_caHandler_Revoke/200/no_ott (0.00s) --- PASS: Test_caHandler_Revoke/500/ott_authority.Revoke (0.00s) --- PASS: Test_caHandler_Revoke/403/ott_authority.Revoke (0.00s) --- PASS: Test_caHandler_Revoke/400/json_read_error (0.00s) --- PASS: Test_caHandler_Revoke/400/invalid_request_body (0.00s) === RUN TestSSHCertificate_MarshalJSON === RUN TestSSHCertificate_MarshalJSON/nil === RUN TestSSHCertificate_MarshalJSON/user === RUN TestSSHCertificate_MarshalJSON/user#01 --- PASS: TestSSHCertificate_MarshalJSON (0.02s) --- PASS: TestSSHCertificate_MarshalJSON/nil (0.00s) --- PASS: TestSSHCertificate_MarshalJSON/user (0.00s) --- PASS: TestSSHCertificate_MarshalJSON/user#01 (0.00s) === RUN TestSSHCertificate_UnmarshalJSON === RUN TestSSHCertificate_UnmarshalJSON/null === RUN TestSSHCertificate_UnmarshalJSON/empty === RUN TestSSHCertificate_UnmarshalJSON/user === RUN TestSSHCertificate_UnmarshalJSON/host === RUN TestSSHCertificate_UnmarshalJSON/bad-string === RUN TestSSHCertificate_UnmarshalJSON/bad-base64 === RUN TestSSHCertificate_UnmarshalJSON/bad-key === RUN TestSSHCertificate_UnmarshalJSON/bat-cert --- PASS: TestSSHCertificate_UnmarshalJSON (0.01s) --- PASS: TestSSHCertificate_UnmarshalJSON/null (0.00s) --- PASS: TestSSHCertificate_UnmarshalJSON/empty (0.00s) --- PASS: TestSSHCertificate_UnmarshalJSON/user (0.01s) --- PASS: TestSSHCertificate_UnmarshalJSON/host (0.00s) --- PASS: TestSSHCertificate_UnmarshalJSON/bad-string (0.00s) --- PASS: TestSSHCertificate_UnmarshalJSON/bad-base64 (0.00s) --- PASS: TestSSHCertificate_UnmarshalJSON/bad-key (0.00s) --- PASS: TestSSHCertificate_UnmarshalJSON/bat-cert (0.00s) === RUN TestSignSSHRequest_Validate === RUN TestSignSSHRequest_Validate/ok-empty === RUN TestSignSSHRequest_Validate/ok-user === RUN TestSignSSHRequest_Validate/ok-host === RUN TestSignSSHRequest_Validate/ok-keyID === RUN TestSignSSHRequest_Validate/ok-identityCSR === RUN TestSignSSHRequest_Validate/key === RUN TestSignSSHRequest_Validate/key#01 === RUN TestSignSSHRequest_Validate/type === RUN TestSignSSHRequest_Validate/ott === RUN TestSignSSHRequest_Validate/identityCSR --- PASS: TestSignSSHRequest_Validate (0.02s) --- PASS: TestSignSSHRequest_Validate/ok-empty (0.00s) --- PASS: TestSignSSHRequest_Validate/ok-user (0.00s) --- PASS: TestSignSSHRequest_Validate/ok-host (0.00s) --- PASS: TestSignSSHRequest_Validate/ok-keyID (0.00s) --- PASS: TestSignSSHRequest_Validate/ok-identityCSR (0.00s) --- PASS: TestSignSSHRequest_Validate/key (0.00s) --- PASS: TestSignSSHRequest_Validate/key#01 (0.00s) --- PASS: TestSignSSHRequest_Validate/type (0.00s) --- PASS: TestSignSSHRequest_Validate/ott (0.00s) --- PASS: TestSignSSHRequest_Validate/identityCSR (0.02s) === RUN Test_SSHSign === RUN Test_SSHSign/ok-user === RUN Test_SSHSign/ok-host === RUN Test_SSHSign/ok-user-add === RUN Test_SSHSign/ok-user-identity === RUN Test_SSHSign/fail-body === RUN Test_SSHSign/fail-validate === RUN Test_SSHSign/fail-publicKey === RUN Test_SSHSign/fail-publicKey#01 === RUN Test_SSHSign/fail-authorize === RUN Test_SSHSign/fail-signSSH === RUN Test_SSHSign/fail-SignSSHAddUser === RUN Test_SSHSign/fail-user-identity --- PASS: Test_SSHSign (0.04s) --- PASS: Test_SSHSign/ok-user (0.00s) --- PASS: Test_SSHSign/ok-host (0.01s) --- PASS: Test_SSHSign/ok-user-add (0.00s) --- PASS: Test_SSHSign/ok-user-identity (0.01s) --- PASS: Test_SSHSign/fail-body (0.00s) --- PASS: Test_SSHSign/fail-validate (0.00s) --- PASS: Test_SSHSign/fail-publicKey (0.00s) --- PASS: Test_SSHSign/fail-publicKey#01 (0.00s) --- PASS: Test_SSHSign/fail-authorize (0.00s) --- PASS: Test_SSHSign/fail-signSSH (0.00s) --- PASS: Test_SSHSign/fail-SignSSHAddUser (0.00s) --- PASS: Test_SSHSign/fail-user-identity (0.00s) === RUN Test_SSHRoots === RUN Test_SSHRoots/ok === RUN Test_SSHRoots/many === RUN Test_SSHRoots/user === RUN Test_SSHRoots/host === RUN Test_SSHRoots/empty === RUN Test_SSHRoots/error --- PASS: Test_SSHRoots (0.00s) --- PASS: Test_SSHRoots/ok (0.00s) --- PASS: Test_SSHRoots/many (0.00s) --- PASS: Test_SSHRoots/user (0.00s) --- PASS: Test_SSHRoots/host (0.00s) --- PASS: Test_SSHRoots/empty (0.00s) --- PASS: Test_SSHRoots/error (0.00s) === RUN Test_SSHFederation === RUN Test_SSHFederation/ok === RUN Test_SSHFederation/many === RUN Test_SSHFederation/user === RUN Test_SSHFederation/host === RUN Test_SSHFederation/empty === RUN Test_SSHFederation/error --- PASS: Test_SSHFederation (0.02s) --- PASS: Test_SSHFederation/ok (0.00s) --- PASS: Test_SSHFederation/many (0.00s) --- PASS: Test_SSHFederation/user (0.01s) --- PASS: Test_SSHFederation/host (0.00s) --- PASS: Test_SSHFederation/empty (0.00s) --- PASS: Test_SSHFederation/error (0.00s) === RUN Test_SSHConfig === RUN Test_SSHConfig/user === RUN Test_SSHConfig/host === RUN Test_SSHConfig/noType === RUN Test_SSHConfig/badType === RUN Test_SSHConfig/badData === RUN Test_SSHConfig/error --- PASS: Test_SSHConfig (0.01s) --- PASS: Test_SSHConfig/user (0.00s) --- PASS: Test_SSHConfig/host (0.00s) --- PASS: Test_SSHConfig/noType (0.00s) --- PASS: Test_SSHConfig/badType (0.00s) --- PASS: Test_SSHConfig/badData (0.00s) --- PASS: Test_SSHConfig/error (0.00s) === RUN Test_SSHCheckHost === RUN Test_SSHCheckHost/true === RUN Test_SSHCheckHost/false === RUN Test_SSHCheckHost/badType === RUN Test_SSHCheckHost/badPrincipal === RUN Test_SSHCheckHost/badRequest === RUN Test_SSHCheckHost/error --- PASS: Test_SSHCheckHost (0.01s) --- PASS: Test_SSHCheckHost/true (0.00s) --- PASS: Test_SSHCheckHost/false (0.00s) --- PASS: Test_SSHCheckHost/badType (0.00s) --- PASS: Test_SSHCheckHost/badPrincipal (0.00s) --- PASS: Test_SSHCheckHost/badRequest (0.00s) --- PASS: Test_SSHCheckHost/error (0.00s) === RUN Test_SSHGetHosts === RUN Test_SSHGetHosts/ok === RUN Test_SSHGetHosts/empty_(array) === RUN Test_SSHGetHosts/empty_(nil) === RUN Test_SSHGetHosts/error --- PASS: Test_SSHGetHosts (0.00s) --- PASS: Test_SSHGetHosts/ok (0.00s) --- PASS: Test_SSHGetHosts/empty_(array) (0.00s) --- PASS: Test_SSHGetHosts/empty_(nil) (0.00s) --- PASS: Test_SSHGetHosts/error (0.00s) === RUN Test_SSHBastion === RUN Test_SSHBastion/ok === RUN Test_SSHBastion/ok#01 === RUN Test_SSHBastion/empty === RUN Test_SSHBastion/bad_json === RUN Test_SSHBastion/bad_request === RUN Test_SSHBastion/error --- PASS: Test_SSHBastion (0.00s) --- PASS: Test_SSHBastion/ok (0.00s) --- PASS: Test_SSHBastion/ok#01 (0.00s) --- PASS: Test_SSHBastion/empty (0.00s) --- PASS: Test_SSHBastion/bad_json (0.00s) --- PASS: Test_SSHBastion/bad_request (0.00s) --- PASS: Test_SSHBastion/error (0.00s) === RUN TestSSHPublicKey_MarshalJSON === RUN TestSSHPublicKey_MarshalJSON/ok === RUN TestSSHPublicKey_MarshalJSON/null === RUN TestSSHPublicKey_MarshalJSON/null#01 --- PASS: TestSSHPublicKey_MarshalJSON (0.00s) --- PASS: TestSSHPublicKey_MarshalJSON/ok (0.00s) --- PASS: TestSSHPublicKey_MarshalJSON/null (0.00s) --- PASS: TestSSHPublicKey_MarshalJSON/null#01 (0.00s) === RUN TestSSHPublicKey_UnmarshalJSON === RUN TestSSHPublicKey_UnmarshalJSON/ok === RUN TestSSHPublicKey_UnmarshalJSON/empty === RUN TestSSHPublicKey_UnmarshalJSON/null === RUN TestSSHPublicKey_UnmarshalJSON/noString === RUN TestSSHPublicKey_UnmarshalJSON/badB64 === RUN TestSSHPublicKey_UnmarshalJSON/badKey --- PASS: TestSSHPublicKey_UnmarshalJSON (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/ok (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/empty (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/null (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/noString (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/badB64 (0.00s) --- PASS: TestSSHPublicKey_UnmarshalJSON/badKey (0.00s) PASS ok github.com/smallstep/certificates/api 30.326s === RUN TestError === RUN TestError/noLogger === RUN TestError/noError === RUN TestError/noErrorDebug === RUN TestError/anError === RUN TestError/anErrorDebug === RUN TestError/stackTracedError === RUN TestError/stackTracedErrorDebug --- PASS: TestError (0.02s) --- PASS: TestError/noLogger (0.00s) --- PASS: TestError/noError (0.00s) --- PASS: TestError/noErrorDebug (0.00s) --- PASS: TestError/anError (0.00s) --- PASS: TestError/anErrorDebug (0.00s) --- PASS: TestError/stackTracedError (0.00s) --- PASS: TestError/stackTracedErrorDebug (0.00s) PASS ok github.com/smallstep/certificates/api/log 0.185s === RUN TestJSON === RUN TestJSON/ok === RUN TestJSON/fail --- PASS: TestJSON (0.05s) --- PASS: TestJSON/ok (0.00s) --- PASS: TestJSON/fail (0.00s) === RUN TestProtoJSON === RUN TestProtoJSON/fail/io.ReadAll === RUN TestProtoJSON/fail/proto === RUN TestProtoJSON/ok --- PASS: TestProtoJSON (0.01s) --- PASS: TestProtoJSON/fail/io.ReadAll (0.00s) --- PASS: TestProtoJSON/fail/proto (0.00s) --- PASS: TestProtoJSON/ok (0.00s) === RUN Test_badProtoJSONError_Render === RUN Test_badProtoJSONError_Render/bad_proto_normal_space === RUN Test_badProtoJSONError_Render/bad_proto_non_breaking_space --- PASS: Test_badProtoJSONError_Render (0.00s) --- PASS: Test_badProtoJSONError_Render/bad_proto_normal_space (0.00s) --- PASS: Test_badProtoJSONError_Render/bad_proto_non_breaking_space (0.00s) PASS ok github.com/smallstep/certificates/api/read 0.348s === RUN TestJSON --- PASS: TestJSON (0.00s) === RUN TestJSONPanics --- PASS: TestJSONPanics (0.00s) === RUN TestError === RUN TestError/0 === RUN TestError/1 --- PASS: TestError (0.00s) --- PASS: TestError/0 (0.00s) --- PASS: TestError/1 (0.00s) === RUN TestStatusCodeFromError --- PASS: TestStatusCodeFromError (0.00s) PASS ok github.com/smallstep/certificates/api/render 0.197s === RUN TestAuthorityNew === RUN TestAuthorityNew/ok === RUN TestAuthorityNew/fail_bad_root === RUN TestAuthorityNew/fail_bad_password === RUN TestAuthorityNew/fail_loading_CA_cert --- PASS: TestAuthorityNew (0.08s) --- PASS: TestAuthorityNew/ok (0.06s) --- PASS: TestAuthorityNew/fail_bad_root (0.01s) --- PASS: TestAuthorityNew/fail_bad_password (0.00s) --- PASS: TestAuthorityNew/fail_loading_CA_cert (0.00s) === RUN TestAuthorityNew_bundles === RUN TestAuthorityNew_bundles/ok_ca0 === RUN TestAuthorityNew_bundles/ok_bundle === RUN TestAuthorityNew_bundles/ok_federated_ca1 === RUN TestAuthorityNew_bundles/ok_federated_bundle === RUN TestAuthorityNew_bundles/fail_root === RUN TestAuthorityNew_bundles/fail_federated --- PASS: TestAuthorityNew_bundles (0.21s) --- PASS: TestAuthorityNew_bundles/ok_ca0 (0.00s) --- PASS: TestAuthorityNew_bundles/ok_bundle (0.00s) --- PASS: TestAuthorityNew_bundles/ok_federated_ca1 (0.00s) --- PASS: TestAuthorityNew_bundles/ok_federated_bundle (0.00s) --- PASS: TestAuthorityNew_bundles/fail_root (0.00s) --- PASS: TestAuthorityNew_bundles/fail_federated (0.00s) === RUN TestAuthority_GetDatabase === RUN TestAuthority_GetDatabase/ok === RUN TestAuthority_GetDatabase/ok_WithDatabase --- PASS: TestAuthority_GetDatabase (0.01s) --- PASS: TestAuthority_GetDatabase/ok (0.00s) --- PASS: TestAuthority_GetDatabase/ok_WithDatabase (0.00s) === RUN TestNewEmbedded === RUN TestNewEmbedded/ok === RUN TestNewEmbedded/ok_empty_config === RUN TestNewEmbedded/ok_config_file === RUN TestNewEmbedded/ok_config === RUN TestNewEmbedded/fail_options === RUN TestNewEmbedded/fail_missing_config === RUN TestNewEmbedded/fail_missing_root === RUN TestNewEmbedded/fail_missing_signer === RUN TestNewEmbedded/fail_missing_root_file === RUN TestNewEmbedded/fail_missing_issuer === RUN TestNewEmbedded/fail_missing_signer#01 === RUN TestNewEmbedded/fail_bad_password --- PASS: TestNewEmbedded (0.02s) --- PASS: TestNewEmbedded/ok (0.00s) --- PASS: TestNewEmbedded/ok_empty_config (0.00s) --- PASS: TestNewEmbedded/ok_config_file (0.01s) --- PASS: TestNewEmbedded/ok_config (0.00s) --- PASS: TestNewEmbedded/fail_options (0.00s) --- PASS: TestNewEmbedded/fail_missing_config (0.00s) --- PASS: TestNewEmbedded/fail_missing_root (0.00s) --- PASS: TestNewEmbedded/fail_missing_signer (0.00s) --- PASS: TestNewEmbedded/fail_missing_root_file (0.00s) --- PASS: TestNewEmbedded/fail_missing_issuer (0.00s) --- PASS: TestNewEmbedded/fail_missing_signer#01 (0.00s) --- PASS: TestNewEmbedded/fail_bad_password (0.00s) === RUN TestNewEmbedded_Sign --- PASS: TestNewEmbedded_Sign (0.02s) === RUN TestNewEmbedded_GetTLSCertificate --- PASS: TestNewEmbedded_GetTLSCertificate (0.04s) === RUN TestAuthority_CloseForReload === RUN TestAuthority_CloseForReload/ok --- PASS: TestAuthority_CloseForReload (0.01s) --- PASS: TestAuthority_CloseForReload/ok (0.00s) === RUN TestAuthority_GetSCEPService === RUN TestAuthority_GetSCEPService/ok === RUN TestAuthority_GetSCEPService/wrong_password --- PASS: TestAuthority_GetSCEPService (0.01s) --- PASS: TestAuthority_GetSCEPService/ok (0.00s) --- PASS: TestAuthority_GetSCEPService/wrong_password (0.00s) === RUN TestAuthority_GetID === RUN TestAuthority_GetID/ok === RUN TestAuthority_GetID/ok_with_id --- PASS: TestAuthority_GetID (0.00s) --- PASS: TestAuthority_GetID/ok (0.00s) --- PASS: TestAuthority_GetID/ok_with_id (0.00s) === RUN TestAuthority_authorizeToken === RUN TestAuthority_authorizeToken/fail/mockNoSQLDB/error === RUN TestAuthority_authorizeToken/fail/mockNoSQLDB/token-already-used === RUN TestAuthority_authorizeToken/fail/invalid-token === RUN TestAuthority_authorizeToken/fail/prehistoric-token === RUN TestAuthority_authorizeToken/ok/simpledb === RUN TestAuthority_authorizeToken/ok/sha256 === RUN TestAuthority_authorizeToken/fail/sha256/token-already-used === RUN TestAuthority_authorizeToken/fail/provisioner-not-found === RUN TestAuthority_authorizeToken/fail/simpledb/token-already-used === RUN TestAuthority_authorizeToken/ok/mockNoSQLDB --- PASS: TestAuthority_authorizeToken (4.30s) --- PASS: TestAuthority_authorizeToken/fail/mockNoSQLDB/error (0.01s) --- PASS: TestAuthority_authorizeToken/fail/mockNoSQLDB/token-already-used (0.02s) --- PASS: TestAuthority_authorizeToken/fail/invalid-token (0.00s) --- PASS: TestAuthority_authorizeToken/fail/prehistoric-token (0.00s) --- PASS: TestAuthority_authorizeToken/ok/simpledb (0.02s) --- PASS: TestAuthority_authorizeToken/ok/sha256 (0.00s) --- PASS: TestAuthority_authorizeToken/fail/sha256/token-already-used (0.02s) --- PASS: TestAuthority_authorizeToken/fail/provisioner-not-found (0.00s) --- PASS: TestAuthority_authorizeToken/fail/simpledb/token-already-used (0.02s) --- PASS: TestAuthority_authorizeToken/ok/mockNoSQLDB (0.02s) === RUN TestAuthority_authorizeRevoke === RUN TestAuthority_authorizeRevoke/fail/token/invalid-token === RUN TestAuthority_authorizeRevoke/fail/token/invalid-subject === RUN TestAuthority_authorizeRevoke/ok/token --- PASS: TestAuthority_authorizeRevoke (4.03s) --- PASS: TestAuthority_authorizeRevoke/fail/token/invalid-token (0.00s) --- PASS: TestAuthority_authorizeRevoke/fail/token/invalid-subject (0.02s) --- PASS: TestAuthority_authorizeRevoke/ok/token (0.03s) === RUN TestAuthority_authorizeSign === RUN TestAuthority_authorizeSign/fail/invalid-subject === RUN TestAuthority_authorizeSign/ok === RUN TestAuthority_authorizeSign/fail/invalid-token --- PASS: TestAuthority_authorizeSign (4.03s) --- PASS: TestAuthority_authorizeSign/fail/invalid-subject (0.06s) --- PASS: TestAuthority_authorizeSign/ok (0.02s) --- PASS: TestAuthority_authorizeSign/fail/invalid-token (0.00s) === RUN TestAuthority_Authorize === RUN TestAuthority_Authorize/default-to-signMethod === RUN TestAuthority_Authorize/fail/revoke/invalid-token === RUN TestAuthority_Authorize/fail/sshRenew/disabled === RUN TestAuthority_Authorize/ok/sshRevoke === RUN TestAuthority_Authorize/fail/sshRekey/invalid-token === RUN TestAuthority_Authorize/fail/sign/invalid-token === RUN TestAuthority_Authorize/fail/sshSign/invalid-token === RUN TestAuthority_Authorize/ok/sign === RUN TestAuthority_Authorize/ok/revoke === RUN TestAuthority_Authorize/ok/sshSign === RUN TestAuthority_Authorize/fail/sshRenew/invalid-token === RUN TestAuthority_Authorize/ok/sshRenew === RUN TestAuthority_Authorize/fail/sshRekey/disabled === RUN TestAuthority_Authorize/fail/unexpected-method === RUN TestAuthority_Authorize/fail/sshSign/disabled === RUN TestAuthority_Authorize/fail/sshRevoke/invalid-token === RUN TestAuthority_Authorize/ok/sshRekey --- PASS: TestAuthority_Authorize (4.70s) --- PASS: TestAuthority_Authorize/default-to-signMethod (0.00s) --- PASS: TestAuthority_Authorize/fail/revoke/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/fail/sshRenew/disabled (0.01s) --- PASS: TestAuthority_Authorize/ok/sshRevoke (0.03s) --- PASS: TestAuthority_Authorize/fail/sshRekey/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/fail/sign/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/fail/sshSign/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/ok/sign (0.01s) --- PASS: TestAuthority_Authorize/ok/revoke (0.01s) --- PASS: TestAuthority_Authorize/ok/sshSign (0.02s) --- PASS: TestAuthority_Authorize/fail/sshRenew/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/ok/sshRenew (0.06s) --- PASS: TestAuthority_Authorize/fail/sshRekey/disabled (0.01s) --- PASS: TestAuthority_Authorize/fail/unexpected-method (0.00s) --- PASS: TestAuthority_Authorize/fail/sshSign/disabled (0.01s) --- PASS: TestAuthority_Authorize/fail/sshRevoke/invalid-token (0.00s) --- PASS: TestAuthority_Authorize/ok/sshRekey (0.05s) === RUN TestAuthority_authorizeRenew === RUN TestAuthority_authorizeRenew/fail/db.IsRevoked-error === RUN TestAuthority_authorizeRenew/fail/revoked === RUN TestAuthority_authorizeRenew/fail/load-provisioner === RUN TestAuthority_authorizeRenew/fail/provisioner-authorize-renewal-fail === RUN TestAuthority_authorizeRenew/ok === RUN TestAuthority_authorizeRenew/ok/from_db --- PASS: TestAuthority_authorizeRenew (0.14s) --- PASS: TestAuthority_authorizeRenew/fail/db.IsRevoked-error (0.01s) --- PASS: TestAuthority_authorizeRenew/fail/revoked (0.02s) --- PASS: TestAuthority_authorizeRenew/fail/load-provisioner (0.02s) --- PASS: TestAuthority_authorizeRenew/fail/provisioner-authorize-renewal-fail (0.02s) --- PASS: TestAuthority_authorizeRenew/ok (0.02s) --- PASS: TestAuthority_authorizeRenew/ok/from_db (0.02s) === RUN TestAuthority_authorizeSSHSign === RUN TestAuthority_authorizeSSHSign/fail/invalid-token === RUN TestAuthority_authorizeSSHSign/fail/invalid-subject === RUN TestAuthority_authorizeSSHSign/ok --- PASS: TestAuthority_authorizeSSHSign (3.95s) --- PASS: TestAuthority_authorizeSSHSign/fail/invalid-token (0.00s) --- PASS: TestAuthority_authorizeSSHSign/fail/invalid-subject (0.02s) --- PASS: TestAuthority_authorizeSSHSign/ok (0.03s) === RUN TestAuthority_authorizeSSHRenew === RUN TestAuthority_authorizeSSHRenew/ok/WithAuthorizeSSHRenewFunc === RUN TestAuthority_authorizeSSHRenew/fail/invalid-token === RUN TestAuthority_authorizeSSHRenew/fail/sshRenew-unimplemented-jwk-provisioner === RUN TestAuthority_authorizeSSHRenew/fail/WithAuthorizeSSHRenewFunc === RUN TestAuthority_authorizeSSHRenew/ok --- PASS: TestAuthority_authorizeSSHRenew (4.11s) --- PASS: TestAuthority_authorizeSSHRenew/ok/WithAuthorizeSSHRenewFunc (0.03s) --- PASS: TestAuthority_authorizeSSHRenew/fail/invalid-token (0.00s) --- PASS: TestAuthority_authorizeSSHRenew/fail/sshRenew-unimplemented-jwk-provisioner (0.00s) --- PASS: TestAuthority_authorizeSSHRenew/fail/WithAuthorizeSSHRenewFunc (0.03s) --- PASS: TestAuthority_authorizeSSHRenew/ok (0.02s) === RUN TestAuthority_authorizeSSHRevoke === RUN TestAuthority_authorizeSSHRevoke/fail/invalid-subject === RUN TestAuthority_authorizeSSHRevoke/ok === RUN TestAuthority_authorizeSSHRevoke/fail/invalid-token --- PASS: TestAuthority_authorizeSSHRevoke (3.41s) --- PASS: TestAuthority_authorizeSSHRevoke/fail/invalid-subject (0.01s) --- PASS: TestAuthority_authorizeSSHRevoke/ok (0.02s) --- PASS: TestAuthority_authorizeSSHRevoke/fail/invalid-token (0.00s) === RUN TestAuthority_authorizeSSHRekey === RUN TestAuthority_authorizeSSHRekey/fail/sshRekey-unimplemented-jwk-provisioner === RUN TestAuthority_authorizeSSHRekey/ok === RUN TestAuthority_authorizeSSHRekey/fail/invalid-token --- PASS: TestAuthority_authorizeSSHRekey (3.96s) --- PASS: TestAuthority_authorizeSSHRekey/fail/sshRekey-unimplemented-jwk-provisioner (0.00s) --- PASS: TestAuthority_authorizeSSHRekey/ok (0.02s) --- PASS: TestAuthority_authorizeSSHRekey/fail/invalid-token (0.00s) === RUN TestAuthority_AuthorizeRenewToken === RUN TestAuthority_AuthorizeRenewToken/ok === RUN TestAuthority_AuthorizeRenewToken/ok_expired_cert === RUN TestAuthority_AuthorizeRenewToken/ok_provisioner_issuer === RUN TestAuthority_AuthorizeRenewToken/ok_ra_provisioner === RUN TestAuthority_AuthorizeRenewToken/fail_token === RUN TestAuthority_AuthorizeRenewToken/fail_token_reuse === RUN TestAuthority_AuthorizeRenewToken/fail_token_signature === RUN TestAuthority_AuthorizeRenewToken/fail_token_provisioner === RUN TestAuthority_AuthorizeRenewToken/fail_token_iss === RUN TestAuthority_AuthorizeRenewToken/fail_token_sub === RUN TestAuthority_AuthorizeRenewToken/fail_token_iat === RUN TestAuthority_AuthorizeRenewToken/fail_token_iat#01 === RUN TestAuthority_AuthorizeRenewToken/fail_token_iat#02 === RUN TestAuthority_AuthorizeRenewToken/fail_token_aud --- PASS: TestAuthority_AuthorizeRenewToken (0.40s) --- PASS: TestAuthority_AuthorizeRenewToken/ok (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/ok_expired_cert (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/ok_provisioner_issuer (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/ok_ra_provisioner (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token (0.00s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_reuse (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_signature (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_provisioner (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iss (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_sub (0.03s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat#01 (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_iat#02 (0.01s) --- PASS: TestAuthority_AuthorizeRenewToken/fail_token_aud (0.01s) === RUN TestAuthority_checkPolicy === RUN TestAuthority_checkPolicy/fail/currentAdmin-lockout === RUN TestAuthority_checkPolicy/fail/otherAdmins-evaluation-error === RUN TestAuthority_checkPolicy/fail/otherAdmins-lockout === RUN TestAuthority_checkPolicy/ok/no-policy === RUN TestAuthority_checkPolicy/ok/empty-policy === RUN TestAuthority_checkPolicy/ok/policy === RUN TestAuthority_checkPolicy/fail/NewX509PolicyEngine-error === RUN TestAuthority_checkPolicy/fail/currentAdmin-evaluation-error --- PASS: TestAuthority_checkPolicy (0.00s) --- PASS: TestAuthority_checkPolicy/fail/currentAdmin-lockout (0.00s) --- PASS: TestAuthority_checkPolicy/fail/otherAdmins-evaluation-error (0.00s) --- PASS: TestAuthority_checkPolicy/fail/otherAdmins-lockout (0.00s) --- PASS: TestAuthority_checkPolicy/ok/no-policy (0.00s) --- PASS: TestAuthority_checkPolicy/ok/empty-policy (0.00s) --- PASS: TestAuthority_checkPolicy/ok/policy (0.00s) --- PASS: TestAuthority_checkPolicy/fail/NewX509PolicyEngine-error (0.00s) --- PASS: TestAuthority_checkPolicy/fail/currentAdmin-evaluation-error (0.00s) === RUN TestAuthority_reloadPolicyEngines === RUN TestAuthority_reloadPolicyEngines/fail/standalone-x509-policy === RUN TestAuthority_reloadPolicyEngines/fail/standalone-ssh-host-policy === RUN TestAuthority_reloadPolicyEngines/fail/standalone-ssh-user-policy === RUN TestAuthority_reloadPolicyEngines/fail/adminDB.GetAuthorityPolicy-error === RUN TestAuthority_reloadPolicyEngines/fail/admin-x509-policy === RUN TestAuthority_reloadPolicyEngines/fail/admin-ssh-host-policy === RUN TestAuthority_reloadPolicyEngines/fail/admin-ssh-user-policy === RUN TestAuthority_reloadPolicyEngines/ok/linkedca-unsupported === RUN TestAuthority_reloadPolicyEngines/ok/standalone-no-policy === RUN TestAuthority_reloadPolicyEngines/ok/standalone-x509-policy === RUN TestAuthority_reloadPolicyEngines/ok/standalone-ssh-host-policy === RUN TestAuthority_reloadPolicyEngines/ok/standalone-ssh-user-policy === RUN TestAuthority_reloadPolicyEngines/ok/standalone-ssh-policy === RUN TestAuthority_reloadPolicyEngines/ok/standalone-full-policy === RUN TestAuthority_reloadPolicyEngines/ok/admin-x509-policy === RUN TestAuthority_reloadPolicyEngines/ok/admin-ssh-host-policy === RUN TestAuthority_reloadPolicyEngines/ok/admin-ssh-user-policy === RUN TestAuthority_reloadPolicyEngines/ok/admin-full-policy === RUN TestAuthority_reloadPolicyEngines/ok/admin-over-standalone --- PASS: TestAuthority_reloadPolicyEngines (0.01s) --- PASS: TestAuthority_reloadPolicyEngines/fail/standalone-x509-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/fail/standalone-ssh-host-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/fail/standalone-ssh-user-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/fail/adminDB.GetAuthorityPolicy-error (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/fail/admin-x509-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/fail/admin-ssh-host-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/fail/admin-ssh-user-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/linkedca-unsupported (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/standalone-no-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/standalone-x509-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/standalone-ssh-host-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/standalone-ssh-user-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/standalone-ssh-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/standalone-full-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/admin-x509-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/admin-ssh-host-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/admin-ssh-user-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/admin-full-policy (0.00s) --- PASS: TestAuthority_reloadPolicyEngines/ok/admin-over-standalone (0.00s) === RUN TestAuthority_checkAuthorityPolicy === RUN TestAuthority_checkAuthorityPolicy/no_policy === RUN TestAuthority_checkAuthorityPolicy/fail/adminDB.GetAdmins-error === RUN TestAuthority_checkAuthorityPolicy/fail/policy === RUN TestAuthority_checkAuthorityPolicy/ok --- PASS: TestAuthority_checkAuthorityPolicy (0.00s) --- PASS: TestAuthority_checkAuthorityPolicy/no_policy (0.00s) --- PASS: TestAuthority_checkAuthorityPolicy/fail/adminDB.GetAdmins-error (0.00s) --- PASS: TestAuthority_checkAuthorityPolicy/fail/policy (0.00s) --- PASS: TestAuthority_checkAuthorityPolicy/ok (0.00s) === RUN TestAuthority_checkProvisionerPolicy === RUN TestAuthority_checkProvisionerPolicy/no_policy === RUN TestAuthority_checkProvisionerPolicy/fail/policy === RUN TestAuthority_checkProvisionerPolicy/ok --- PASS: TestAuthority_checkProvisionerPolicy (0.00s) --- PASS: TestAuthority_checkProvisionerPolicy/no_policy (0.00s) --- PASS: TestAuthority_checkProvisionerPolicy/fail/policy (0.00s) --- PASS: TestAuthority_checkProvisionerPolicy/ok (0.00s) === RUN TestAuthority_RemoveAuthorityPolicy === RUN TestAuthority_RemoveAuthorityPolicy/fail/adminDB.DeleteAuthorityPolicy === RUN TestAuthority_RemoveAuthorityPolicy/fail/a.reloadPolicyEngines === RUN TestAuthority_RemoveAuthorityPolicy/ok --- PASS: TestAuthority_RemoveAuthorityPolicy (0.00s) --- PASS: TestAuthority_RemoveAuthorityPolicy/fail/adminDB.DeleteAuthorityPolicy (0.00s) --- PASS: TestAuthority_RemoveAuthorityPolicy/fail/a.reloadPolicyEngines (0.00s) --- PASS: TestAuthority_RemoveAuthorityPolicy/ok (0.00s) === RUN TestAuthority_GetAuthorityPolicy === RUN TestAuthority_GetAuthorityPolicy/fail/adminDB.GetAuthorityPolicy === RUN TestAuthority_GetAuthorityPolicy/ok --- PASS: TestAuthority_GetAuthorityPolicy (0.00s) --- PASS: TestAuthority_GetAuthorityPolicy/fail/adminDB.GetAuthorityPolicy (0.00s) --- PASS: TestAuthority_GetAuthorityPolicy/ok (0.00s) === RUN TestAuthority_CreateAuthorityPolicy === RUN TestAuthority_CreateAuthorityPolicy/fail/a.checkAuthorityPolicy === RUN TestAuthority_CreateAuthorityPolicy/fail/adminDB.CreateAuthorityPolicy === RUN TestAuthority_CreateAuthorityPolicy/fail/a.reloadPolicyEngines === RUN TestAuthority_CreateAuthorityPolicy/ok --- PASS: TestAuthority_CreateAuthorityPolicy (0.00s) --- PASS: TestAuthority_CreateAuthorityPolicy/fail/a.checkAuthorityPolicy (0.00s) --- PASS: TestAuthority_CreateAuthorityPolicy/fail/adminDB.CreateAuthorityPolicy (0.00s) --- PASS: TestAuthority_CreateAuthorityPolicy/fail/a.reloadPolicyEngines (0.00s) --- PASS: TestAuthority_CreateAuthorityPolicy/ok (0.00s) === RUN TestAuthority_UpdateAuthorityPolicy === RUN TestAuthority_UpdateAuthorityPolicy/fail/a.checkAuthorityPolicy === RUN TestAuthority_UpdateAuthorityPolicy/fail/adminDB.UpdateAuthorityPolicy === RUN TestAuthority_UpdateAuthorityPolicy/fail/a.reloadPolicyEngines === RUN TestAuthority_UpdateAuthorityPolicy/ok --- PASS: TestAuthority_UpdateAuthorityPolicy (0.00s) --- PASS: TestAuthority_UpdateAuthorityPolicy/fail/a.checkAuthorityPolicy (0.00s) --- PASS: TestAuthority_UpdateAuthorityPolicy/fail/adminDB.UpdateAuthorityPolicy (0.00s) --- PASS: TestAuthority_UpdateAuthorityPolicy/fail/a.reloadPolicyEngines (0.00s) --- PASS: TestAuthority_UpdateAuthorityPolicy/ok (0.00s) === RUN TestGetEncryptedKey === RUN TestGetEncryptedKey/ok === RUN TestGetEncryptedKey/fail-not-found --- PASS: TestGetEncryptedKey (0.02s) --- PASS: TestGetEncryptedKey/ok (0.01s) --- PASS: TestGetEncryptedKey/fail-not-found (0.01s) === RUN TestGetProvisioners === RUN TestGetProvisioners/ok --- PASS: TestGetProvisioners (0.01s) --- PASS: TestGetProvisioners/ok (0.01s) === RUN TestAuthority_LoadProvisionerByCertificate === RUN TestAuthority_LoadProvisionerByCertificate/ok_from_certificate === RUN TestAuthority_LoadProvisionerByCertificate/ok_from_db === RUN TestAuthority_LoadProvisionerByCertificate/ok_from_admindb === RUN TestAuthority_LoadProvisionerByCertificate/fail_from_certificate === RUN TestAuthority_LoadProvisionerByCertificate/fail_from_db === RUN TestAuthority_LoadProvisionerByCertificate/fail_from_admindb --- PASS: TestAuthority_LoadProvisionerByCertificate (22.22s) --- PASS: TestAuthority_LoadProvisionerByCertificate/ok_from_certificate (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/ok_from_db (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/ok_from_admindb (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/fail_from_certificate (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/fail_from_db (0.00s) --- PASS: TestAuthority_LoadProvisionerByCertificate/fail_from_admindb (0.00s) === RUN TestProvisionerWebhookToLinkedca === RUN TestProvisionerWebhookToLinkedca/empty === RUN TestProvisionerWebhookToLinkedca/enriching_ssh_basic_auth === RUN TestProvisionerWebhookToLinkedca/authorizing_x509_bearer_auth --- PASS: TestProvisionerWebhookToLinkedca (0.00s) --- PASS: TestProvisionerWebhookToLinkedca/empty (0.00s) --- PASS: TestProvisionerWebhookToLinkedca/enriching_ssh_basic_auth (0.00s) --- PASS: TestProvisionerWebhookToLinkedca/authorizing_x509_bearer_auth (0.00s) === RUN Test_wrapRAProvisioner === RUN Test_wrapRAProvisioner/ok --- PASS: Test_wrapRAProvisioner (0.00s) --- PASS: Test_wrapRAProvisioner/ok (0.00s) === RUN Test_isRAProvisioner === RUN Test_isRAProvisioner/true === RUN Test_isRAProvisioner/nil_ra === RUN Test_isRAProvisioner/not_ra --- PASS: Test_isRAProvisioner (0.00s) --- PASS: Test_isRAProvisioner/true (0.00s) --- PASS: Test_isRAProvisioner/nil_ra (0.00s) --- PASS: Test_isRAProvisioner/not_ra (0.00s) === RUN TestRoot === RUN TestRoot/success === RUN TestRoot/not-found === RUN TestRoot/invalid-stored-certificate --- PASS: TestRoot (0.02s) --- PASS: TestRoot/success (0.00s) --- PASS: TestRoot/not-found (0.00s) --- PASS: TestRoot/invalid-stored-certificate (0.00s) === RUN TestAuthority_GetRootCertificate === RUN TestAuthority_GetRootCertificate/ok --- PASS: TestAuthority_GetRootCertificate (0.01s) --- PASS: TestAuthority_GetRootCertificate/ok (0.01s) === RUN TestAuthority_GetRootCertificates === RUN TestAuthority_GetRootCertificates/ok --- PASS: TestAuthority_GetRootCertificates (0.01s) --- PASS: TestAuthority_GetRootCertificates/ok (0.01s) === RUN TestAuthority_GetRoots === RUN TestAuthority_GetRoots/ok --- PASS: TestAuthority_GetRoots (0.02s) --- PASS: TestAuthority_GetRoots/ok (0.00s) === RUN TestAuthority_GetFederation === RUN TestAuthority_GetFederation/ok === RUN TestAuthority_GetFederation/fail --- PASS: TestAuthority_GetFederation (0.03s) --- PASS: TestAuthority_GetFederation/ok (0.01s) --- PASS: TestAuthority_GetFederation/fail (0.02s) === RUN TestAuthority_initHostOnly --- PASS: TestAuthority_initHostOnly (0.03s) === RUN TestAuthority_initUserOnly --- PASS: TestAuthority_initUserOnly (0.03s) === RUN TestAuthority_SignSSH === RUN TestAuthority_SignSSH/ok-user === RUN TestAuthority_SignSSH/ok-host === RUN TestAuthority_SignSSH/ok-user-only === RUN TestAuthority_SignSSH/ok-host-only === RUN TestAuthority_SignSSH/ok-opts-type-user === RUN TestAuthority_SignSSH/ok-opts-type-host === RUN TestAuthority_SignSSH/ok-opts-principals === RUN TestAuthority_SignSSH/ok-opts-principals#01 === RUN TestAuthority_SignSSH/ok-opts-valid-after === RUN TestAuthority_SignSSH/ok-opts-valid-before === RUN TestAuthority_SignSSH/ok-cert-validator === RUN TestAuthority_SignSSH/ok-cert-modifier === RUN TestAuthority_SignSSH/ok-opts-validator === RUN TestAuthority_SignSSH/ok-opts-modifier === RUN TestAuthority_SignSSH/ok-custom-template === RUN TestAuthority_SignSSH/ok-enrich-template === RUN TestAuthority_SignSSH/ok-user-policy === RUN TestAuthority_SignSSH/ok-host-policy === RUN TestAuthority_SignSSH/fail-opts-type === RUN TestAuthority_SignSSH/fail-cert-validator === RUN TestAuthority_SignSSH/fail-cert-modifier === RUN TestAuthority_SignSSH/fail-opts-validator === RUN TestAuthority_SignSSH/fail-opts-modifier === RUN TestAuthority_SignSSH/fail-bad-sign-options === RUN TestAuthority_SignSSH/fail-no-user-key === RUN TestAuthority_SignSSH/fail-no-host-key === RUN TestAuthority_SignSSH/fail-bad-type === RUN TestAuthority_SignSSH/fail-custom-template === RUN TestAuthority_SignSSH/fail-custom-template-syntax-error-file === RUN TestAuthority_SignSSH/fail-custom-template-syntax-value-file === RUN TestAuthority_SignSSH/fail-user-policy === RUN TestAuthority_SignSSH/fail-user-policy-with-host-cert === RUN TestAuthority_SignSSH/fail-user-policy-with-bad-user === RUN TestAuthority_SignSSH/fail-host-policy === RUN TestAuthority_SignSSH/fail-host-policy-with-user-cert === RUN TestAuthority_SignSSH/fail-host-policy-with-bad-host === RUN TestAuthority_SignSSH/fail-enriching-webhooks === RUN TestAuthority_SignSSH/fail-authorizing-webhooks --- PASS: TestAuthority_SignSSH (0.81s) --- PASS: TestAuthority_SignSSH/ok-user (0.02s) --- PASS: TestAuthority_SignSSH/ok-host (0.02s) --- PASS: TestAuthority_SignSSH/ok-user-only (0.05s) --- PASS: TestAuthority_SignSSH/ok-host-only (0.04s) --- PASS: TestAuthority_SignSSH/ok-opts-type-user (0.06s) --- PASS: TestAuthority_SignSSH/ok-opts-type-host (0.03s) --- PASS: TestAuthority_SignSSH/ok-opts-principals (0.02s) --- PASS: TestAuthority_SignSSH/ok-opts-principals#01 (0.02s) --- PASS: TestAuthority_SignSSH/ok-opts-valid-after (0.01s) --- PASS: TestAuthority_SignSSH/ok-opts-valid-before (0.06s) --- PASS: TestAuthority_SignSSH/ok-cert-validator (0.03s) --- PASS: TestAuthority_SignSSH/ok-cert-modifier (0.03s) --- PASS: TestAuthority_SignSSH/ok-opts-validator (0.03s) --- PASS: TestAuthority_SignSSH/ok-opts-modifier (0.02s) --- PASS: TestAuthority_SignSSH/ok-custom-template (0.02s) --- PASS: TestAuthority_SignSSH/ok-enrich-template (0.02s) --- PASS: TestAuthority_SignSSH/ok-user-policy (0.02s) --- PASS: TestAuthority_SignSSH/ok-host-policy (0.01s) --- PASS: TestAuthority_SignSSH/fail-opts-type (0.01s) --- PASS: TestAuthority_SignSSH/fail-cert-validator (0.02s) --- PASS: TestAuthority_SignSSH/fail-cert-modifier (0.02s) --- PASS: TestAuthority_SignSSH/fail-opts-validator (0.01s) --- PASS: TestAuthority_SignSSH/fail-opts-modifier (0.02s) --- PASS: TestAuthority_SignSSH/fail-bad-sign-options (0.01s) --- PASS: TestAuthority_SignSSH/fail-no-user-key (0.02s) --- PASS: TestAuthority_SignSSH/fail-no-host-key (0.01s) --- PASS: TestAuthority_SignSSH/fail-bad-type (0.01s) --- PASS: TestAuthority_SignSSH/fail-custom-template (0.02s) --- PASS: TestAuthority_SignSSH/fail-custom-template-syntax-error-file (0.02s) --- PASS: TestAuthority_SignSSH/fail-custom-template-syntax-value-file (0.03s) --- PASS: TestAuthority_SignSSH/fail-user-policy (0.01s) --- PASS: TestAuthority_SignSSH/fail-user-policy-with-host-cert (0.01s) --- PASS: TestAuthority_SignSSH/fail-user-policy-with-bad-user (0.01s) --- PASS: TestAuthority_SignSSH/fail-host-policy (0.01s) --- PASS: TestAuthority_SignSSH/fail-host-policy-with-user-cert (0.01s) --- PASS: TestAuthority_SignSSH/fail-host-policy-with-bad-host (0.01s) --- PASS: TestAuthority_SignSSH/fail-enriching-webhooks (0.01s) --- PASS: TestAuthority_SignSSH/fail-authorizing-webhooks (0.01s) === RUN TestAuthority_SignSSHAddUser === RUN TestAuthority_SignSSHAddUser/ok === RUN TestAuthority_SignSSHAddUser/ok-no-host-key === RUN TestAuthority_SignSSHAddUser/ok-custom-principal === RUN TestAuthority_SignSSHAddUser/ok-custom-command === RUN TestAuthority_SignSSHAddUser/ok-custom-principal-and-command === RUN TestAuthority_SignSSHAddUser/fail-no-user-key === RUN TestAuthority_SignSSHAddUser/fail-no-user-cert === RUN TestAuthority_SignSSHAddUser/fail-no-principals === RUN TestAuthority_SignSSHAddUser/fail-many-principals --- PASS: TestAuthority_SignSSHAddUser (0.08s) --- PASS: TestAuthority_SignSSHAddUser/ok (0.01s) --- PASS: TestAuthority_SignSSHAddUser/ok-no-host-key (0.01s) --- PASS: TestAuthority_SignSSHAddUser/ok-custom-principal (0.01s) --- PASS: TestAuthority_SignSSHAddUser/ok-custom-command (0.01s) --- PASS: TestAuthority_SignSSHAddUser/ok-custom-principal-and-command (0.01s) --- PASS: TestAuthority_SignSSHAddUser/fail-no-user-key (0.01s) --- PASS: TestAuthority_SignSSHAddUser/fail-no-user-cert (0.01s) --- PASS: TestAuthority_SignSSHAddUser/fail-no-principals (0.01s) --- PASS: TestAuthority_SignSSHAddUser/fail-many-principals (0.01s) === RUN TestAuthority_GetSSHRoots === RUN TestAuthority_GetSSHRoots/ok === RUN TestAuthority_GetSSHRoots/nil --- PASS: TestAuthority_GetSSHRoots (0.03s) --- PASS: TestAuthority_GetSSHRoots/ok (0.01s) --- PASS: TestAuthority_GetSSHRoots/nil (0.02s) === RUN TestAuthority_GetSSHFederation === RUN TestAuthority_GetSSHFederation/ok === RUN TestAuthority_GetSSHFederation/nil --- PASS: TestAuthority_GetSSHFederation (0.02s) --- PASS: TestAuthority_GetSSHFederation/ok (0.01s) --- PASS: TestAuthority_GetSSHFederation/nil (0.01s) === RUN TestAuthority_GetSSHConfig === RUN TestAuthority_GetSSHConfig/user === RUN TestAuthority_GetSSHConfig/user#01 === RUN TestAuthority_GetSSHConfig/host === RUN TestAuthority_GetSSHConfig/host#01 === RUN TestAuthority_GetSSHConfig/userWithData === RUN TestAuthority_GetSSHConfig/hostWithData === RUN TestAuthority_GetSSHConfig/userIncludesEmptyData === RUN TestAuthority_GetSSHConfig/userIncludesWithoutTemplateVersion === RUN TestAuthority_GetSSHConfig/userIncludesWithTemplateVersion === RUN TestAuthority_GetSSHConfig/disabled === RUN TestAuthority_GetSSHConfig/badType === RUN TestAuthority_GetSSHConfig/userError === RUN TestAuthority_GetSSHConfig/hostError === RUN TestAuthority_GetSSHConfig/noTemplates === RUN TestAuthority_GetSSHConfig/missingData === RUN TestAuthority_GetSSHConfig/failError --- PASS: TestAuthority_GetSSHConfig (0.19s) --- PASS: TestAuthority_GetSSHConfig/user (0.01s) --- PASS: TestAuthority_GetSSHConfig/user#01 (0.01s) --- PASS: TestAuthority_GetSSHConfig/host (0.01s) --- PASS: TestAuthority_GetSSHConfig/host#01 (0.01s) --- PASS: TestAuthority_GetSSHConfig/userWithData (0.01s) --- PASS: TestAuthority_GetSSHConfig/hostWithData (0.01s) --- PASS: TestAuthority_GetSSHConfig/userIncludesEmptyData (0.02s) --- PASS: TestAuthority_GetSSHConfig/userIncludesWithoutTemplateVersion (0.02s) --- PASS: TestAuthority_GetSSHConfig/userIncludesWithTemplateVersion (0.02s) --- PASS: TestAuthority_GetSSHConfig/disabled (0.01s) --- PASS: TestAuthority_GetSSHConfig/badType (0.01s) --- PASS: TestAuthority_GetSSHConfig/userError (0.01s) --- PASS: TestAuthority_GetSSHConfig/hostError (0.01s) --- PASS: TestAuthority_GetSSHConfig/noTemplates (0.01s) --- PASS: TestAuthority_GetSSHConfig/missingData (0.01s) --- PASS: TestAuthority_GetSSHConfig/failError (0.01s) === RUN TestAuthority_CheckSSHHost === RUN TestAuthority_CheckSSHHost/true === RUN TestAuthority_CheckSSHHost/false === RUN TestAuthority_CheckSSHHost/notImplemented === RUN TestAuthority_CheckSSHHost/notImplemented#01 === RUN TestAuthority_CheckSSHHost/internal === RUN TestAuthority_CheckSSHHost/internal#01 --- PASS: TestAuthority_CheckSSHHost (0.04s) --- PASS: TestAuthority_CheckSSHHost/true (0.01s) --- PASS: TestAuthority_CheckSSHHost/false (0.01s) --- PASS: TestAuthority_CheckSSHHost/notImplemented (0.01s) --- PASS: TestAuthority_CheckSSHHost/notImplemented#01 (0.01s) --- PASS: TestAuthority_CheckSSHHost/internal (0.01s) --- PASS: TestAuthority_CheckSSHHost/internal#01 (0.01s) === RUN TestSSHConfig_Validate === RUN TestSSHConfig_Validate/nil === RUN TestSSHConfig_Validate/ok === RUN TestSSHConfig_Validate/ok#01 === RUN TestSSHConfig_Validate/badType === RUN TestSSHConfig_Validate/badKey --- PASS: TestSSHConfig_Validate (0.00s) --- PASS: TestSSHConfig_Validate/nil (0.00s) --- PASS: TestSSHConfig_Validate/ok (0.00s) --- PASS: TestSSHConfig_Validate/ok#01 (0.00s) --- PASS: TestSSHConfig_Validate/badType (0.00s) --- PASS: TestSSHConfig_Validate/badKey (0.00s) === RUN TestAuthority_GetSSHBastion === RUN TestAuthority_GetSSHBastion/config === RUN TestAuthority_GetSSHBastion/bastion === RUN TestAuthority_GetSSHBastion/nil === RUN TestAuthority_GetSSHBastion/empty === RUN TestAuthority_GetSSHBastion/func === RUN TestAuthority_GetSSHBastion/func_err === RUN TestAuthority_GetSSHBastion/error --- PASS: TestAuthority_GetSSHBastion (0.00s) --- PASS: TestAuthority_GetSSHBastion/config (0.00s) --- PASS: TestAuthority_GetSSHBastion/bastion (0.00s) --- PASS: TestAuthority_GetSSHBastion/nil (0.00s) --- PASS: TestAuthority_GetSSHBastion/empty (0.00s) --- PASS: TestAuthority_GetSSHBastion/func (0.00s) --- PASS: TestAuthority_GetSSHBastion/func_err (0.00s) --- PASS: TestAuthority_GetSSHBastion/error (0.00s) === RUN TestAuthority_GetSSHHosts === RUN TestAuthority_GetSSHHosts/fail/db-get-fail === RUN TestAuthority_GetSSHHosts/ok === RUN TestAuthority_GetSSHHosts/fail/getHostsFunc-fail === RUN TestAuthority_GetSSHHosts/ok/getHostsFunc-defined --- PASS: TestAuthority_GetSSHHosts (0.02s) --- PASS: TestAuthority_GetSSHHosts/fail/db-get-fail (0.01s) --- PASS: TestAuthority_GetSSHHosts/ok (0.01s) --- PASS: TestAuthority_GetSSHHosts/fail/getHostsFunc-fail (0.00s) --- PASS: TestAuthority_GetSSHHosts/ok/getHostsFunc-defined (0.00s) === RUN TestAuthority_RekeySSH === RUN TestAuthority_RekeySSH/fail/old-cert-validBefore === RUN TestAuthority_RekeySSH/fail/old-cert-no-user-key === RUN TestAuthority_RekeySSH/fail/unexpected-old-cert-type === RUN TestAuthority_RekeySSH/fail/db-store === RUN TestAuthority_RekeySSH/fail/is-revoked === RUN TestAuthority_RekeySSH/fail/opts-type === RUN TestAuthority_RekeySSH/fail/old-cert-validAfter === RUN TestAuthority_RekeySSH/fail/old-cert-no-host-key === RUN TestAuthority_RekeySSH/ok === RUN TestAuthority_RekeySSH/fail/is-revoked-error --- PASS: TestAuthority_RekeySSH (0.05s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-validBefore (0.00s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-no-user-key (0.00s) --- PASS: TestAuthority_RekeySSH/fail/unexpected-old-cert-type (0.00s) --- PASS: TestAuthority_RekeySSH/fail/db-store (0.01s) --- PASS: TestAuthority_RekeySSH/fail/is-revoked (0.01s) --- PASS: TestAuthority_RekeySSH/fail/opts-type (0.00s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-validAfter (0.00s) --- PASS: TestAuthority_RekeySSH/fail/old-cert-no-host-key (0.00s) --- PASS: TestAuthority_RekeySSH/ok (0.01s) --- PASS: TestAuthority_RekeySSH/fail/is-revoked-error (0.01s) === RUN TestIsValidForAddUser === RUN TestIsValidForAddUser/ok === RUN TestIsValidForAddUser/ok_oidc === RUN TestIsValidForAddUser/fail_at === RUN TestIsValidForAddUser/fail_host === RUN TestIsValidForAddUser/fail_principals === RUN TestIsValidForAddUser/fail_no_principals === RUN TestIsValidForAddUser/fail_extra_principals --- PASS: TestIsValidForAddUser (0.01s) --- PASS: TestIsValidForAddUser/ok (0.00s) --- PASS: TestIsValidForAddUser/ok_oidc (0.00s) --- PASS: TestIsValidForAddUser/fail_at (0.00s) --- PASS: TestIsValidForAddUser/fail_host (0.00s) --- PASS: TestIsValidForAddUser/fail_principals (0.00s) --- PASS: TestIsValidForAddUser/fail_no_principals (0.00s) --- PASS: TestIsValidForAddUser/fail_extra_principals (0.00s) === RUN TestAuthority_Sign === RUN TestAuthority_Sign/fail_with_policy === RUN TestAuthority_Sign/fail_enriching_webhooks === RUN TestAuthority_Sign/fail_authorizing_webhooks === RUN TestAuthority_Sign/ok === RUN TestAuthority_Sign/ok_with_enforced_modifier === RUN TestAuthority_Sign/ok_with_custom_template === RUN TestAuthority_Sign/ok_with_attestation_data === RUN TestAuthority_Sign/fail_with_provisioner_enforcer === RUN TestAuthority_Sign/fail_create_cert === RUN TestAuthority_Sign/fail_provisioner_duration_claim === RUN TestAuthority_Sign/fail_bad_JSON_value_template_file === RUN TestAuthority_Sign/fail_with_custom_enforcer === RUN TestAuthority_Sign/fail_invalid_signature === RUN TestAuthority_Sign/fail_store_cert_in_db === RUN TestAuthority_Sign/ok_with_enriching_webhook === RUN TestAuthority_Sign/ok/csr_with_no_template_critical_SAN_extension === RUN TestAuthority_Sign/fail_validate_sans_when_adding_common_name_not_in_claims === RUN TestAuthority_Sign/fail_merge_default_ASN1DN === RUN TestAuthority_Sign/fail_rsa_key_too_short === RUN TestAuthority_Sign/fail_custom_template === RUN TestAuthority_Sign/fail_bad_JSON_syntax_template_file === RUN TestAuthority_Sign/ok_with_custom_enforcer === RUN TestAuthority_Sign/ok_with_policy === RUN TestAuthority_Sign/fail_invalid_extra_option --- PASS: TestAuthority_Sign (3.51s) --- PASS: TestAuthority_Sign/fail_with_policy (0.03s) --- PASS: TestAuthority_Sign/fail_enriching_webhooks (0.01s) --- PASS: TestAuthority_Sign/fail_authorizing_webhooks (0.01s) --- PASS: TestAuthority_Sign/ok (0.04s) --- PASS: TestAuthority_Sign/ok_with_enforced_modifier (0.03s) --- PASS: TestAuthority_Sign/ok_with_custom_template (0.03s) --- PASS: TestAuthority_Sign/ok_with_attestation_data (0.03s) --- PASS: TestAuthority_Sign/fail_with_provisioner_enforcer (0.02s) --- PASS: TestAuthority_Sign/fail_create_cert (0.02s) --- PASS: TestAuthority_Sign/fail_provisioner_duration_claim (0.01s) --- PASS: TestAuthority_Sign/fail_bad_JSON_value_template_file (0.02s) --- PASS: TestAuthority_Sign/fail_with_custom_enforcer (0.03s) --- PASS: TestAuthority_Sign/fail_invalid_signature (0.00s) --- PASS: TestAuthority_Sign/fail_store_cert_in_db (0.02s) --- PASS: TestAuthority_Sign/ok_with_enriching_webhook (0.04s) --- PASS: TestAuthority_Sign/ok/csr_with_no_template_critical_SAN_extension (0.03s) --- PASS: TestAuthority_Sign/fail_validate_sans_when_adding_common_name_not_in_claims (0.01s) --- PASS: TestAuthority_Sign/fail_merge_default_ASN1DN (0.04s) --- PASS: TestAuthority_Sign/fail_rsa_key_too_short (0.00s) --- PASS: TestAuthority_Sign/fail_custom_template (0.05s) --- PASS: TestAuthority_Sign/fail_bad_JSON_syntax_template_file (0.04s) --- PASS: TestAuthority_Sign/ok_with_custom_enforcer (0.05s) --- PASS: TestAuthority_Sign/ok_with_policy (0.05s) --- PASS: TestAuthority_Sign/fail_invalid_extra_option (0.01s) === RUN TestAuthority_Renew === RUN TestAuthority_Renew/ok/WithAuthorizeRenewFunc === RUN TestAuthority_Renew/fail/create-cert === RUN TestAuthority_Renew/fail/unauthorized === RUN TestAuthority_Renew/fail/WithAuthorizeRenewFunc === RUN TestAuthority_Renew/ok === RUN TestAuthority_Renew/ok/WithExtraNames === RUN TestAuthority_Renew/ok/success-new-intermediate --- PASS: TestAuthority_Renew (0.14s) --- PASS: TestAuthority_Renew/ok/WithAuthorizeRenewFunc (0.01s) --- PASS: TestAuthority_Renew/fail/create-cert (0.01s) --- PASS: TestAuthority_Renew/fail/unauthorized (0.00s) --- PASS: TestAuthority_Renew/fail/WithAuthorizeRenewFunc (0.01s) --- PASS: TestAuthority_Renew/ok (0.01s) --- PASS: TestAuthority_Renew/ok/WithExtraNames (0.01s) --- PASS: TestAuthority_Renew/ok/success-new-intermediate (0.05s) === RUN TestAuthority_Rekey === RUN TestAuthority_Rekey/fail/create-cert === RUN TestAuthority_Rekey/fail/unauthorized === RUN TestAuthority_Rekey/ok/renew === RUN TestAuthority_Rekey/ok/rekey === RUN TestAuthority_Rekey/ok/renew/success-new-intermediate --- PASS: TestAuthority_Rekey (0.10s) --- PASS: TestAuthority_Rekey/fail/create-cert (0.01s) --- PASS: TestAuthority_Rekey/fail/unauthorized (0.00s) --- PASS: TestAuthority_Rekey/ok/renew (0.01s) --- PASS: TestAuthority_Rekey/ok/rekey (0.01s) --- PASS: TestAuthority_Rekey/ok/renew/success-new-intermediate (0.04s) === RUN TestAuthority_GetTLSOptions === RUN TestAuthority_GetTLSOptions/non-default === RUN TestAuthority_GetTLSOptions/default --- PASS: TestAuthority_GetTLSOptions (0.01s) --- PASS: TestAuthority_GetTLSOptions/non-default (0.01s) --- PASS: TestAuthority_GetTLSOptions/default (0.01s) === RUN TestAuthority_Revoke === RUN TestAuthority_Revoke/fail/already-revoked === RUN TestAuthority_Revoke/ok/ACME === RUN TestAuthority_Revoke/fail/token/authorizeRevoke_error === RUN TestAuthority_Revoke/fail/nil-db === RUN TestAuthority_Revoke/ok/mTLS === RUN TestAuthority_Revoke/ok/mTLS-no-provisioner === RUN TestAuthority_Revoke/ok/ssh === RUN TestAuthority_Revoke/fail/db-revoke === RUN TestAuthority_Revoke/ok/token --- PASS: TestAuthority_Revoke (2.98s) --- PASS: TestAuthority_Revoke/fail/already-revoked (0.00s) --- PASS: TestAuthority_Revoke/ok/ACME (0.00s) --- PASS: TestAuthority_Revoke/fail/token/authorizeRevoke_error (0.00s) --- PASS: TestAuthority_Revoke/fail/nil-db (0.00s) --- PASS: TestAuthority_Revoke/ok/mTLS (0.00s) --- PASS: TestAuthority_Revoke/ok/mTLS-no-provisioner (0.00s) --- PASS: TestAuthority_Revoke/ok/ssh (0.00s) --- PASS: TestAuthority_Revoke/fail/db-revoke (0.00s) --- PASS: TestAuthority_Revoke/ok/token (0.00s) === RUN TestAuthority_constraints === RUN TestAuthority_constraints/ok_dns === RUN TestAuthority_constraints/ok_ip === RUN TestAuthority_constraints/ok_email === RUN TestAuthority_constraints/ok_uri === RUN TestAuthority_constraints/fail_permitted_dns === RUN TestAuthority_constraints/fail_excluded_dns === RUN TestAuthority_constraints/fail_permitted_ips === RUN TestAuthority_constraints/fail_excluded_ips === RUN TestAuthority_constraints/fail_permitted_emails === RUN TestAuthority_constraints/fail_excluded_emails === RUN TestAuthority_constraints/fail_permitted_uris === RUN TestAuthority_constraints/fail_excluded_uris --- PASS: TestAuthority_constraints (0.51s) --- PASS: TestAuthority_constraints/ok_dns (0.04s) --- PASS: TestAuthority_constraints/ok_ip (0.05s) --- PASS: TestAuthority_constraints/ok_email (0.04s) --- PASS: TestAuthority_constraints/ok_uri (0.04s) --- PASS: TestAuthority_constraints/fail_permitted_dns (0.03s) --- PASS: TestAuthority_constraints/fail_excluded_dns (0.03s) --- PASS: TestAuthority_constraints/fail_permitted_ips (0.04s) --- PASS: TestAuthority_constraints/fail_excluded_ips (0.05s) --- PASS: TestAuthority_constraints/fail_permitted_emails (0.03s) --- PASS: TestAuthority_constraints/fail_excluded_emails (0.02s) --- PASS: TestAuthority_constraints/fail_permitted_uris (0.05s) --- PASS: TestAuthority_constraints/fail_excluded_uris (0.04s) === RUN TestAuthority_CRL === RUN TestAuthority_CRL/fail/empty-crl === RUN TestAuthority_CRL/ok/crl-full --- PASS: TestAuthority_CRL (4.11s) --- PASS: TestAuthority_CRL/fail/empty-crl (0.00s) --- PASS: TestAuthority_CRL/ok/crl-full (0.00s) PASS ok github.com/smallstep/certificates/authority 68.725s ? github.com/smallstep/certificates/authority/admin [no test files] === RUN TestHandler_requireEABEnabled === RUN TestHandler_requireEABEnabled/fail/prov.GetDetails === RUN TestHandler_requireEABEnabled/fail/prov.GetDetails.GetACME === RUN TestHandler_requireEABEnabled/ok/eab-disabled === RUN TestHandler_requireEABEnabled/ok/eab-enabled --- PASS: TestHandler_requireEABEnabled (0.01s) --- PASS: TestHandler_requireEABEnabled/fail/prov.GetDetails (0.00s) --- PASS: TestHandler_requireEABEnabled/fail/prov.GetDetails.GetACME (0.00s) --- PASS: TestHandler_requireEABEnabled/ok/eab-disabled (0.00s) --- PASS: TestHandler_requireEABEnabled/ok/eab-enabled (0.00s) === RUN TestCreateExternalAccountKeyRequest_Validate === RUN TestCreateExternalAccountKeyRequest_Validate/fail/reference-too-long === RUN TestCreateExternalAccountKeyRequest_Validate/ok/empty-reference === RUN TestCreateExternalAccountKeyRequest_Validate/ok --- PASS: TestCreateExternalAccountKeyRequest_Validate (0.00s) --- PASS: TestCreateExternalAccountKeyRequest_Validate/fail/reference-too-long (0.00s) --- PASS: TestCreateExternalAccountKeyRequest_Validate/ok/empty-reference (0.00s) --- PASS: TestCreateExternalAccountKeyRequest_Validate/ok (0.00s) === RUN TestHandler_CreateExternalAccountKey === RUN TestHandler_CreateExternalAccountKey/ok --- PASS: TestHandler_CreateExternalAccountKey (0.00s) --- PASS: TestHandler_CreateExternalAccountKey/ok (0.00s) === RUN TestHandler_DeleteExternalAccountKey === RUN TestHandler_DeleteExternalAccountKey/ok --- PASS: TestHandler_DeleteExternalAccountKey (0.00s) --- PASS: TestHandler_DeleteExternalAccountKey/ok (0.00s) === RUN TestHandler_GetExternalAccountKeys === RUN TestHandler_GetExternalAccountKeys/ok --- PASS: TestHandler_GetExternalAccountKeys (0.00s) --- PASS: TestHandler_GetExternalAccountKeys/ok (0.00s) === RUN Test_eakToLinked === RUN Test_eakToLinked/no-key === RUN Test_eakToLinked/no-policy === RUN Test_eakToLinked/with-policy --- PASS: Test_eakToLinked (0.00s) --- PASS: Test_eakToLinked/no-key (0.00s) --- PASS: Test_eakToLinked/no-policy (0.00s) --- PASS: Test_eakToLinked/with-policy (0.00s) === RUN Test_linkedEAKToCertificates === RUN Test_linkedEAKToCertificates/no-key === RUN Test_linkedEAKToCertificates/no-policy === RUN Test_linkedEAKToCertificates/no-x509-policy === RUN Test_linkedEAKToCertificates/with-x509-policy --- PASS: Test_linkedEAKToCertificates (0.00s) --- PASS: Test_linkedEAKToCertificates/no-key (0.00s) --- PASS: Test_linkedEAKToCertificates/no-policy (0.00s) --- PASS: Test_linkedEAKToCertificates/no-x509-policy (0.00s) --- PASS: Test_linkedEAKToCertificates/with-x509-policy (0.00s) === RUN TestCreateAdminRequest_Validate === RUN TestCreateAdminRequest_Validate/fail/subject-empty === RUN TestCreateAdminRequest_Validate/fail/provisioner-empty === RUN TestCreateAdminRequest_Validate/fail/invalid-type === RUN TestCreateAdminRequest_Validate/ok --- PASS: TestCreateAdminRequest_Validate (0.00s) --- PASS: TestCreateAdminRequest_Validate/fail/subject-empty (0.00s) --- PASS: TestCreateAdminRequest_Validate/fail/provisioner-empty (0.00s) --- PASS: TestCreateAdminRequest_Validate/fail/invalid-type (0.00s) --- PASS: TestCreateAdminRequest_Validate/ok (0.00s) === RUN TestUpdateAdminRequest_Validate === RUN TestUpdateAdminRequest_Validate/fail/invalid-type === RUN TestUpdateAdminRequest_Validate/ok --- PASS: TestUpdateAdminRequest_Validate (0.00s) --- PASS: TestUpdateAdminRequest_Validate/fail/invalid-type (0.00s) --- PASS: TestUpdateAdminRequest_Validate/ok (0.00s) === RUN TestHandler_GetAdmin === RUN TestHandler_GetAdmin/fail/auth.LoadAdminByID-not-found === RUN TestHandler_GetAdmin/ok --- PASS: TestHandler_GetAdmin (0.01s) --- PASS: TestHandler_GetAdmin/fail/auth.LoadAdminByID-not-found (0.00s) --- PASS: TestHandler_GetAdmin/ok (0.01s) === RUN TestHandler_GetAdmins === RUN TestHandler_GetAdmins/ok === RUN TestHandler_GetAdmins/fail/parse-cursor === RUN TestHandler_GetAdmins/fail/auth.GetAdmins --- PASS: TestHandler_GetAdmins (0.01s) --- PASS: TestHandler_GetAdmins/ok (0.01s) --- PASS: TestHandler_GetAdmins/fail/parse-cursor (0.00s) --- PASS: TestHandler_GetAdmins/fail/auth.GetAdmins (0.00s) === RUN TestHandler_CreateAdmin === RUN TestHandler_CreateAdmin/fail/auth.StoreAdmin === RUN TestHandler_CreateAdmin/ok === RUN TestHandler_CreateAdmin/fail/ReadJSON === RUN TestHandler_CreateAdmin/fail/validate === RUN TestHandler_CreateAdmin/fail/auth.LoadProvisionerByName --- PASS: TestHandler_CreateAdmin (0.00s) --- PASS: TestHandler_CreateAdmin/fail/auth.StoreAdmin (0.00s) --- PASS: TestHandler_CreateAdmin/ok (0.00s) --- PASS: TestHandler_CreateAdmin/fail/ReadJSON (0.00s) --- PASS: TestHandler_CreateAdmin/fail/validate (0.00s) --- PASS: TestHandler_CreateAdmin/fail/auth.LoadProvisionerByName (0.00s) === RUN TestHandler_DeleteAdmin === RUN TestHandler_DeleteAdmin/fail/auth.RemoveAdmin === RUN TestHandler_DeleteAdmin/ok --- PASS: TestHandler_DeleteAdmin (0.00s) --- PASS: TestHandler_DeleteAdmin/fail/auth.RemoveAdmin (0.00s) --- PASS: TestHandler_DeleteAdmin/ok (0.00s) === RUN TestHandler_UpdateAdmin === RUN TestHandler_UpdateAdmin/fail/ReadJSON === RUN TestHandler_UpdateAdmin/fail/validate === RUN TestHandler_UpdateAdmin/fail/auth.UpdateAdmin === RUN TestHandler_UpdateAdmin/ok --- PASS: TestHandler_UpdateAdmin (0.00s) --- PASS: TestHandler_UpdateAdmin/fail/ReadJSON (0.00s) --- PASS: TestHandler_UpdateAdmin/fail/validate (0.00s) --- PASS: TestHandler_UpdateAdmin/fail/auth.UpdateAdmin (0.00s) --- PASS: TestHandler_UpdateAdmin/ok (0.00s) === RUN TestHandler_requireAPIEnabled === RUN TestHandler_requireAPIEnabled/fail/auth.IsAdminAPIEnabled === RUN TestHandler_requireAPIEnabled/ok --- PASS: TestHandler_requireAPIEnabled (0.00s) --- PASS: TestHandler_requireAPIEnabled/fail/auth.IsAdminAPIEnabled (0.00s) --- PASS: TestHandler_requireAPIEnabled/ok (0.00s) === RUN TestHandler_extractAuthorizeTokenAdmin === RUN TestHandler_extractAuthorizeTokenAdmin/fail/missing-authorization-token === RUN TestHandler_extractAuthorizeTokenAdmin/fail/auth.AuthorizeAdminToken === RUN TestHandler_extractAuthorizeTokenAdmin/ok --- PASS: TestHandler_extractAuthorizeTokenAdmin (0.00s) --- PASS: TestHandler_extractAuthorizeTokenAdmin/fail/missing-authorization-token (0.00s) --- PASS: TestHandler_extractAuthorizeTokenAdmin/fail/auth.AuthorizeAdminToken (0.00s) --- PASS: TestHandler_extractAuthorizeTokenAdmin/ok (0.00s) === RUN TestHandler_loadProvisionerByName === RUN TestHandler_loadProvisionerByName/fail/auth.LoadProvisionerByName === RUN TestHandler_loadProvisionerByName/fail/db.GetProvisioner === RUN TestHandler_loadProvisionerByName/ok --- PASS: TestHandler_loadProvisionerByName (0.00s) --- PASS: TestHandler_loadProvisionerByName/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_loadProvisionerByName/fail/db.GetProvisioner (0.00s) --- PASS: TestHandler_loadProvisionerByName/ok (0.00s) === RUN TestHandler_checkAction === RUN TestHandler_checkAction/standalone-nosql-supported === RUN TestHandler_checkAction/standalone-nosql-not-supported === RUN TestHandler_checkAction/standalone-no-nosql-not-supported --- PASS: TestHandler_checkAction (0.00s) --- PASS: TestHandler_checkAction/standalone-nosql-supported (0.00s) --- PASS: TestHandler_checkAction/standalone-nosql-not-supported (0.00s) --- PASS: TestHandler_checkAction/standalone-no-nosql-not-supported (0.00s) === RUN TestHandler_loadExternalAccountKey === RUN TestHandler_loadExternalAccountKey/fail/keyID-not-found-error === RUN TestHandler_loadExternalAccountKey/fail/keyID-error === RUN TestHandler_loadExternalAccountKey/fail/reference-not-found-error === RUN TestHandler_loadExternalAccountKey/fail/reference-error === RUN TestHandler_loadExternalAccountKey/fail/no-key === RUN TestHandler_loadExternalAccountKey/ok/keyID === RUN TestHandler_loadExternalAccountKey/ok/reference --- PASS: TestHandler_loadExternalAccountKey (0.02s) --- PASS: TestHandler_loadExternalAccountKey/fail/keyID-not-found-error (0.00s) --- PASS: TestHandler_loadExternalAccountKey/fail/keyID-error (0.00s) --- PASS: TestHandler_loadExternalAccountKey/fail/reference-not-found-error (0.00s) --- PASS: TestHandler_loadExternalAccountKey/fail/reference-error (0.00s) --- PASS: TestHandler_loadExternalAccountKey/fail/no-key (0.01s) --- PASS: TestHandler_loadExternalAccountKey/ok/keyID (0.00s) --- PASS: TestHandler_loadExternalAccountKey/ok/reference (0.00s) === RUN TestPolicyAdminResponder_GetAuthorityPolicy === RUN TestPolicyAdminResponder_GetAuthorityPolicy/fail/linkedca === RUN TestPolicyAdminResponder_GetAuthorityPolicy/fail/auth.GetAuthorityPolicy-error === RUN TestPolicyAdminResponder_GetAuthorityPolicy/fail/auth.GetAuthorityPolicy-not-found === RUN TestPolicyAdminResponder_GetAuthorityPolicy/ok --- PASS: TestPolicyAdminResponder_GetAuthorityPolicy (0.01s) --- PASS: TestPolicyAdminResponder_GetAuthorityPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_GetAuthorityPolicy/fail/auth.GetAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_GetAuthorityPolicy/fail/auth.GetAuthorityPolicy-not-found (0.00s) --- PASS: TestPolicyAdminResponder_GetAuthorityPolicy/ok (0.00s) === RUN TestPolicyAdminResponder_CreateAuthorityPolicy === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/validatePolicy === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/CreateAuthorityPolicy-policy-admin-lockout-error === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/CreateAuthorityPolicy-error === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/ok === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/linkedca === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/auth.GetAuthorityPolicy-error === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/existing-policy === RUN TestPolicyAdminResponder_CreateAuthorityPolicy/fail/read.ProtoJSON --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy (0.02s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/validatePolicy (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/CreateAuthorityPolicy-policy-admin-lockout-error (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/CreateAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/auth.GetAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_CreateAuthorityPolicy/fail/read.ProtoJSON (0.00s) === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/UpdateAuthorityPolicy-policy-admin-lockout-error === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/UpdateAuthorityPolicy-error === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/ok === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/linkedca === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/auth.GetAuthorityPolicy-error === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/no-existing-policy === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/read.ProtoJSON === RUN TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/validatePolicy --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy (0.01s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/UpdateAuthorityPolicy-policy-admin-lockout-error (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/UpdateAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/auth.GetAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/no-existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/read.ProtoJSON (0.00s) --- PASS: TestPolicyAdminResponder_UpdateAuthorityPolicy/fail/validatePolicy (0.00s) === RUN TestPolicyAdminResponder_DeleteAuthorityPolicy === RUN TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/auth.GetAuthorityPolicy-error === RUN TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/no-existing-policy === RUN TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/auth.RemoveAuthorityPolicy-error === RUN TestPolicyAdminResponder_DeleteAuthorityPolicy/ok === RUN TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/linkedca --- PASS: TestPolicyAdminResponder_DeleteAuthorityPolicy (0.01s) --- PASS: TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/auth.GetAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/no-existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/auth.RemoveAuthorityPolicy-error (0.00s) --- PASS: TestPolicyAdminResponder_DeleteAuthorityPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_DeleteAuthorityPolicy/fail/linkedca (0.00s) === RUN TestPolicyAdminResponder_GetProvisionerPolicy === RUN TestPolicyAdminResponder_GetProvisionerPolicy/fail/linkedca === RUN TestPolicyAdminResponder_GetProvisionerPolicy/fail/prov-no-policy === RUN TestPolicyAdminResponder_GetProvisionerPolicy/ok --- PASS: TestPolicyAdminResponder_GetProvisionerPolicy (0.01s) --- PASS: TestPolicyAdminResponder_GetProvisionerPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_GetProvisionerPolicy/fail/prov-no-policy (0.00s) --- PASS: TestPolicyAdminResponder_GetProvisionerPolicy/ok (0.00s) === RUN TestPolicyAdminResponder_CreateProvisionerPolicy === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/fail/validatePolicy === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/fail/auth.UpdateProvisioner-policy-admin-lockout-error === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/fail/auth.UpdateProvisioner-error === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/ok === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/fail/linkedca === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/fail/existing-policy === RUN TestPolicyAdminResponder_CreateProvisionerPolicy/fail/read.ProtoJSON --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy (0.01s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/fail/validatePolicy (0.00s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/fail/auth.UpdateProvisioner-policy-admin-lockout-error (0.00s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/fail/auth.UpdateProvisioner-error (0.00s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/fail/existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_CreateProvisionerPolicy/fail/read.ProtoJSON (0.00s) === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/validatePolicy === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/auth.UpdateProvisioner-policy-admin-lockout-error === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/auth.UpdateProvisioner-error === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/ok === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/linkedca === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/no-existing-policy === RUN TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/read.ProtoJSON --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy (0.01s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/validatePolicy (0.00s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/auth.UpdateProvisioner-policy-admin-lockout-error (0.00s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/auth.UpdateProvisioner-error (0.00s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/no-existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_UpdateProvisionerPolicy/fail/read.ProtoJSON (0.00s) === RUN TestPolicyAdminResponder_DeleteProvisionerPolicy === RUN TestPolicyAdminResponder_DeleteProvisionerPolicy/fail/linkedca === RUN TestPolicyAdminResponder_DeleteProvisionerPolicy/fail/no-existing-policy === RUN TestPolicyAdminResponder_DeleteProvisionerPolicy/fail/auth.UpdateProvisioner-error === RUN TestPolicyAdminResponder_DeleteProvisionerPolicy/ok --- PASS: TestPolicyAdminResponder_DeleteProvisionerPolicy (0.00s) --- PASS: TestPolicyAdminResponder_DeleteProvisionerPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_DeleteProvisionerPolicy/fail/no-existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_DeleteProvisionerPolicy/fail/auth.UpdateProvisioner-error (0.00s) --- PASS: TestPolicyAdminResponder_DeleteProvisionerPolicy/ok (0.00s) === RUN TestPolicyAdminResponder_GetACMEAccountPolicy === RUN TestPolicyAdminResponder_GetACMEAccountPolicy/fail/no-policy === RUN TestPolicyAdminResponder_GetACMEAccountPolicy/ok === RUN TestPolicyAdminResponder_GetACMEAccountPolicy/fail/linkedca --- PASS: TestPolicyAdminResponder_GetACMEAccountPolicy (0.00s) --- PASS: TestPolicyAdminResponder_GetACMEAccountPolicy/fail/no-policy (0.00s) --- PASS: TestPolicyAdminResponder_GetACMEAccountPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_GetACMEAccountPolicy/fail/linkedca (0.00s) === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/read.ProtoJSON === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/validatePolicy === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/acmeDB.UpdateExternalAccountKey-error === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy/ok === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/linkedca === RUN TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/existing-policy --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy (0.01s) --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/read.ProtoJSON (0.00s) --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/validatePolicy (0.00s) --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/acmeDB.UpdateExternalAccountKey-error (0.00s) --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_CreateACMEAccountPolicy/fail/existing-policy (0.00s) === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/linkedca === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/no-existing-policy === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/read.ProtoJSON === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/validatePolicy === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/acmeDB.UpdateExternalAccountKey-error === RUN TestPolicyAdminResponder_UpdateACMEAccountPolicy/ok --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy (0.01s) --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/no-existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/read.ProtoJSON (0.00s) --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/validatePolicy (0.00s) --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy/fail/acmeDB.UpdateExternalAccountKey-error (0.00s) --- PASS: TestPolicyAdminResponder_UpdateACMEAccountPolicy/ok (0.00s) === RUN TestPolicyAdminResponder_DeleteACMEAccountPolicy === RUN TestPolicyAdminResponder_DeleteACMEAccountPolicy/ok === RUN TestPolicyAdminResponder_DeleteACMEAccountPolicy/fail/linkedca === RUN TestPolicyAdminResponder_DeleteACMEAccountPolicy/fail/no-existing-policy === RUN TestPolicyAdminResponder_DeleteACMEAccountPolicy/fail/acmeDB.UpdateExternalAccountKey-error --- PASS: TestPolicyAdminResponder_DeleteACMEAccountPolicy (0.00s) --- PASS: TestPolicyAdminResponder_DeleteACMEAccountPolicy/ok (0.00s) --- PASS: TestPolicyAdminResponder_DeleteACMEAccountPolicy/fail/linkedca (0.00s) --- PASS: TestPolicyAdminResponder_DeleteACMEAccountPolicy/fail/no-existing-policy (0.00s) --- PASS: TestPolicyAdminResponder_DeleteACMEAccountPolicy/fail/acmeDB.UpdateExternalAccountKey-error (0.00s) === RUN Test_isBadRequest === RUN Test_isBadRequest/nil === RUN Test_isBadRequest/no-policy-error === RUN Test_isBadRequest/no-bad-request === RUN Test_isBadRequest/bad-request --- PASS: Test_isBadRequest (0.00s) --- PASS: Test_isBadRequest/nil (0.00s) --- PASS: Test_isBadRequest/no-policy-error (0.00s) --- PASS: Test_isBadRequest/no-bad-request (0.00s) --- PASS: Test_isBadRequest/bad-request (0.00s) === RUN Test_validatePolicy === RUN Test_validatePolicy/nil === RUN Test_validatePolicy/x509 === RUN Test_validatePolicy/ssh_user === RUN Test_validatePolicy/ssh_host === RUN Test_validatePolicy/ok --- PASS: Test_validatePolicy (0.00s) --- PASS: Test_validatePolicy/nil (0.00s) --- PASS: Test_validatePolicy/x509 (0.00s) --- PASS: Test_validatePolicy/ssh_user (0.00s) --- PASS: Test_validatePolicy/ssh_host (0.00s) --- PASS: Test_validatePolicy/ok (0.00s) === RUN TestHandler_GetProvisioner === RUN TestHandler_GetProvisioner/fail/auth.LoadProvisionerByID === RUN TestHandler_GetProvisioner/fail/auth.LoadProvisionerByName === RUN TestHandler_GetProvisioner/fail/db.GetProvisioner === RUN TestHandler_GetProvisioner/ok --- PASS: TestHandler_GetProvisioner (0.02s) --- PASS: TestHandler_GetProvisioner/fail/auth.LoadProvisionerByID (0.00s) --- PASS: TestHandler_GetProvisioner/fail/auth.LoadProvisionerByName (0.01s) --- PASS: TestHandler_GetProvisioner/fail/db.GetProvisioner (0.00s) --- PASS: TestHandler_GetProvisioner/ok (0.00s) === RUN TestHandler_GetProvisioners === RUN TestHandler_GetProvisioners/fail/parse-cursor === RUN TestHandler_GetProvisioners/fail/auth.GetProvisioners === RUN TestHandler_GetProvisioners/ok --- PASS: TestHandler_GetProvisioners (0.00s) --- PASS: TestHandler_GetProvisioners/fail/parse-cursor (0.00s) --- PASS: TestHandler_GetProvisioners/fail/auth.GetProvisioners (0.00s) --- PASS: TestHandler_GetProvisioners/ok (0.00s) === RUN TestHandler_CreateProvisioner === RUN TestHandler_CreateProvisioner/fail/readProtoJSON === RUN TestHandler_CreateProvisioner/fail/validateTemplates === RUN TestHandler_CreateProvisioner/fail/auth.StoreProvisioner === RUN TestHandler_CreateProvisioner/ok --- PASS: TestHandler_CreateProvisioner (0.01s) --- PASS: TestHandler_CreateProvisioner/fail/readProtoJSON (0.00s) --- PASS: TestHandler_CreateProvisioner/fail/validateTemplates (0.00s) --- PASS: TestHandler_CreateProvisioner/fail/auth.StoreProvisioner (0.00s) --- PASS: TestHandler_CreateProvisioner/ok (0.00s) === RUN TestHandler_DeleteProvisioner === RUN TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByID === RUN TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByName === RUN TestHandler_DeleteProvisioner/fail/auth.RemoveProvisioner === RUN TestHandler_DeleteProvisioner/ok --- PASS: TestHandler_DeleteProvisioner (0.01s) --- PASS: TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByID (0.00s) --- PASS: TestHandler_DeleteProvisioner/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_DeleteProvisioner/fail/auth.RemoveProvisioner (0.00s) --- PASS: TestHandler_DeleteProvisioner/ok (0.00s) === RUN TestHandler_UpdateProvisioner === RUN TestHandler_UpdateProvisioner/fail/change-authority-id-error === RUN TestHandler_UpdateProvisioner/ok === RUN TestHandler_UpdateProvisioner/fail/readProtoJSON === RUN TestHandler_UpdateProvisioner/fail/auth.LoadProvisionerByName === RUN TestHandler_UpdateProvisioner/fail/db.GetProvisioner === RUN TestHandler_UpdateProvisioner/fail/change-id-error === RUN TestHandler_UpdateProvisioner/fail/change-type-error === RUN TestHandler_UpdateProvisioner/fail/change-createdAt-error === RUN TestHandler_UpdateProvisioner/fail/change-deletedAt-error === RUN TestHandler_UpdateProvisioner/fail/validateTemplates === RUN TestHandler_UpdateProvisioner/fail/auth.UpdateProvisioner --- PASS: TestHandler_UpdateProvisioner (0.05s) --- PASS: TestHandler_UpdateProvisioner/fail/change-authority-id-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/ok (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/readProtoJSON (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/auth.LoadProvisionerByName (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/db.GetProvisioner (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/change-id-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/change-type-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/change-createdAt-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/change-deletedAt-error (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/validateTemplates (0.00s) --- PASS: TestHandler_UpdateProvisioner/fail/auth.UpdateProvisioner (0.00s) === RUN Test_validateTemplates === RUN Test_validateTemplates/ok === RUN Test_validateTemplates/ok/x509 === RUN Test_validateTemplates/ok/ssh === RUN Test_validateTemplates/fail/x509-template-missing-quote === RUN Test_validateTemplates/fail/x509-template-data === RUN Test_validateTemplates/fail/ssh-template-unknown-function === RUN Test_validateTemplates/fail/ssh-template-data --- PASS: Test_validateTemplates (0.04s) --- PASS: Test_validateTemplates/ok (0.00s) --- PASS: Test_validateTemplates/ok/x509 (0.00s) --- PASS: Test_validateTemplates/ok/ssh (0.03s) --- PASS: Test_validateTemplates/fail/x509-template-missing-quote (0.00s) --- PASS: Test_validateTemplates/fail/x509-template-data (0.00s) --- PASS: Test_validateTemplates/fail/ssh-template-unknown-function (0.00s) --- PASS: Test_validateTemplates/fail/ssh-template-data (0.00s) === RUN TestWebhookAdminResponder_CreateProvisionerWebhook === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/relative-url === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/http-url === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/basic-auth-in-url === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/secret-in-request === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/read.ProtoJSON === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/missing-url === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/auth.UpdateProvisioner-error === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/ok === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/existing-webhook === RUN TestWebhookAdminResponder_CreateProvisionerWebhook/fail/missing-name --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook (0.01s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/relative-url (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/http-url (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/basic-auth-in-url (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/secret-in-request (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/read.ProtoJSON (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/missing-url (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/auth.UpdateProvisioner-error (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/ok (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/existing-webhook (0.00s) --- PASS: TestWebhookAdminResponder_CreateProvisionerWebhook/fail/missing-name (0.00s) === RUN TestWebhookAdminResponder_DeleteProvisionerWebhook === RUN TestWebhookAdminResponder_DeleteProvisionerWebhook/ok/not-found === RUN TestWebhookAdminResponder_DeleteProvisionerWebhook/ok === RUN TestWebhookAdminResponder_DeleteProvisionerWebhook/fail/auth.UpdateProvisioner-error --- PASS: TestWebhookAdminResponder_DeleteProvisionerWebhook (0.00s) --- PASS: TestWebhookAdminResponder_DeleteProvisionerWebhook/ok/not-found (0.00s) --- PASS: TestWebhookAdminResponder_DeleteProvisionerWebhook/ok (0.00s) --- PASS: TestWebhookAdminResponder_DeleteProvisionerWebhook/fail/auth.UpdateProvisioner-error (0.00s) === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/not-found === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/missing-name === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/missing-url === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/http-url === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/basic-auth-in-url === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/auth.UpdateProvisioner-error === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/read.ProtoJSON === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/relative-url === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/different-secret-in-request === RUN TestWebhookAdminResponder_UpdateProvisionerWebhook/ok --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook (0.01s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/not-found (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/missing-name (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/missing-url (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/http-url (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/basic-auth-in-url (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/auth.UpdateProvisioner-error (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/read.ProtoJSON (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/relative-url (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/fail/different-secret-in-request (0.00s) --- PASS: TestWebhookAdminResponder_UpdateProvisionerWebhook/ok (0.00s) PASS ok github.com/smallstep/certificates/authority/admin/api 0.582s === RUN TestDB_getDBAdminBytes === RUN TestDB_getDBAdminBytes/fail/not-found === RUN TestDB_getDBAdminBytes/fail/db.Get-error === RUN TestDB_getDBAdminBytes/ok --- PASS: TestDB_getDBAdminBytes (0.00s) --- PASS: TestDB_getDBAdminBytes/fail/not-found (0.00s) --- PASS: TestDB_getDBAdminBytes/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBAdminBytes/ok (0.00s) === RUN TestDB_getDBAdmin === RUN TestDB_getDBAdmin/fail/unmarshal-error === RUN TestDB_getDBAdmin/fail/deleted === RUN TestDB_getDBAdmin/ok === RUN TestDB_getDBAdmin/fail/not-found === RUN TestDB_getDBAdmin/fail/db.Get-error --- PASS: TestDB_getDBAdmin (0.01s) --- PASS: TestDB_getDBAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBAdmin/fail/deleted (0.00s) --- PASS: TestDB_getDBAdmin/ok (0.00s) --- PASS: TestDB_getDBAdmin/fail/not-found (0.00s) --- PASS: TestDB_getDBAdmin/fail/db.Get-error (0.00s) === RUN TestDB_unmarshalDBAdmin === RUN TestDB_unmarshalDBAdmin/fail/unmarshal-error === RUN TestDB_unmarshalDBAdmin/fail/deleted-error === RUN TestDB_unmarshalDBAdmin/fail/authority-mismatch-error === RUN TestDB_unmarshalDBAdmin/ok --- PASS: TestDB_unmarshalDBAdmin (0.00s) --- PASS: TestDB_unmarshalDBAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_unmarshalDBAdmin/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalDBAdmin/fail/authority-mismatch-error (0.00s) --- PASS: TestDB_unmarshalDBAdmin/ok (0.00s) === RUN TestDB_unmarshalAdmin === RUN TestDB_unmarshalAdmin/fail/unmarshal-error === RUN TestDB_unmarshalAdmin/fail/deleted-error === RUN TestDB_unmarshalAdmin/ok --- PASS: TestDB_unmarshalAdmin (0.00s) --- PASS: TestDB_unmarshalAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_unmarshalAdmin/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalAdmin/ok (0.00s) === RUN TestDB_GetAdmin === RUN TestDB_GetAdmin/fail/not-found === RUN TestDB_GetAdmin/fail/db.Get-error === RUN TestDB_GetAdmin/fail/unmarshal-error === RUN TestDB_GetAdmin/fail/deleted === RUN TestDB_GetAdmin/fail/authorityID-mismatch === RUN TestDB_GetAdmin/ok --- PASS: TestDB_GetAdmin (0.00s) --- PASS: TestDB_GetAdmin/fail/not-found (0.00s) --- PASS: TestDB_GetAdmin/fail/db.Get-error (0.00s) --- PASS: TestDB_GetAdmin/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetAdmin/fail/deleted (0.00s) --- PASS: TestDB_GetAdmin/fail/authorityID-mismatch (0.00s) --- PASS: TestDB_GetAdmin/ok (0.00s) === RUN TestDB_DeleteAdmin === RUN TestDB_DeleteAdmin/fail/not-found === RUN TestDB_DeleteAdmin/fail/db.Get-error === RUN TestDB_DeleteAdmin/fail/save-error === RUN TestDB_DeleteAdmin/ok --- PASS: TestDB_DeleteAdmin (0.00s) --- PASS: TestDB_DeleteAdmin/fail/not-found (0.00s) --- PASS: TestDB_DeleteAdmin/fail/db.Get-error (0.00s) --- PASS: TestDB_DeleteAdmin/fail/save-error (0.00s) --- PASS: TestDB_DeleteAdmin/ok (0.00s) === RUN TestDB_UpdateAdmin === RUN TestDB_UpdateAdmin/fail/db.Get-error === RUN TestDB_UpdateAdmin/fail/save-error === RUN TestDB_UpdateAdmin/ok === RUN TestDB_UpdateAdmin/fail/not-found --- PASS: TestDB_UpdateAdmin (0.01s) --- PASS: TestDB_UpdateAdmin/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateAdmin/fail/save-error (0.00s) --- PASS: TestDB_UpdateAdmin/ok (0.00s) --- PASS: TestDB_UpdateAdmin/fail/not-found (0.00s) === RUN TestDB_CreateAdmin === RUN TestDB_CreateAdmin/fail/save-error === RUN TestDB_CreateAdmin/ok --- PASS: TestDB_CreateAdmin (0.00s) --- PASS: TestDB_CreateAdmin/fail/save-error (0.00s) --- PASS: TestDB_CreateAdmin/ok (0.00s) === RUN TestDB_GetAdmins === RUN TestDB_GetAdmins/ok === RUN TestDB_GetAdmins/fail/db.List-error === RUN TestDB_GetAdmins/fail/unmarshal-error === RUN TestDB_GetAdmins/ok/none === RUN TestDB_GetAdmins/ok/only-invalid --- PASS: TestDB_GetAdmins (0.01s) --- PASS: TestDB_GetAdmins/ok (0.00s) --- PASS: TestDB_GetAdmins/fail/db.List-error (0.00s) --- PASS: TestDB_GetAdmins/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetAdmins/ok/none (0.00s) --- PASS: TestDB_GetAdmins/ok/only-invalid (0.00s) === RUN TestDB_getDBAuthorityPolicyBytes === RUN TestDB_getDBAuthorityPolicyBytes/fail/not-found === RUN TestDB_getDBAuthorityPolicyBytes/fail/db.Get-error === RUN TestDB_getDBAuthorityPolicyBytes/ok --- PASS: TestDB_getDBAuthorityPolicyBytes (0.00s) --- PASS: TestDB_getDBAuthorityPolicyBytes/fail/not-found (0.00s) --- PASS: TestDB_getDBAuthorityPolicyBytes/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBAuthorityPolicyBytes/ok (0.00s) === RUN TestDB_getDBAuthorityPolicy === RUN TestDB_getDBAuthorityPolicy/fail/unmarshal-error === RUN TestDB_getDBAuthorityPolicy/fail/authorityID-error === RUN TestDB_getDBAuthorityPolicy/ok/empty-bytes === RUN TestDB_getDBAuthorityPolicy/ok === RUN TestDB_getDBAuthorityPolicy/fail/not-found --- PASS: TestDB_getDBAuthorityPolicy (0.01s) --- PASS: TestDB_getDBAuthorityPolicy/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBAuthorityPolicy/fail/authorityID-error (0.00s) --- PASS: TestDB_getDBAuthorityPolicy/ok/empty-bytes (0.00s) --- PASS: TestDB_getDBAuthorityPolicy/ok (0.00s) --- PASS: TestDB_getDBAuthorityPolicy/fail/not-found (0.00s) === RUN TestDB_CreateAuthorityPolicy === RUN TestDB_CreateAuthorityPolicy/fail/save-error === RUN TestDB_CreateAuthorityPolicy/ok --- PASS: TestDB_CreateAuthorityPolicy (0.00s) --- PASS: TestDB_CreateAuthorityPolicy/fail/save-error (0.00s) --- PASS: TestDB_CreateAuthorityPolicy/ok (0.00s) === RUN TestDB_GetAuthorityPolicy === RUN TestDB_GetAuthorityPolicy/fail/not-found === RUN TestDB_GetAuthorityPolicy/fail/db.Get-error === RUN TestDB_GetAuthorityPolicy/ok --- PASS: TestDB_GetAuthorityPolicy (0.00s) --- PASS: TestDB_GetAuthorityPolicy/fail/not-found (0.00s) --- PASS: TestDB_GetAuthorityPolicy/fail/db.Get-error (0.00s) --- PASS: TestDB_GetAuthorityPolicy/ok (0.00s) === RUN TestDB_UpdateAuthorityPolicy === RUN TestDB_UpdateAuthorityPolicy/fail/not-found === RUN TestDB_UpdateAuthorityPolicy/fail/db.Get-error === RUN TestDB_UpdateAuthorityPolicy/fail/save-error === RUN TestDB_UpdateAuthorityPolicy/ok --- PASS: TestDB_UpdateAuthorityPolicy (0.00s) --- PASS: TestDB_UpdateAuthorityPolicy/fail/not-found (0.00s) --- PASS: TestDB_UpdateAuthorityPolicy/fail/db.Get-error (0.00s) --- PASS: TestDB_UpdateAuthorityPolicy/fail/save-error (0.00s) --- PASS: TestDB_UpdateAuthorityPolicy/ok (0.00s) === RUN TestDB_DeleteAuthorityPolicy === RUN TestDB_DeleteAuthorityPolicy/fail/not-found === RUN TestDB_DeleteAuthorityPolicy/fail/db.Get-error === RUN TestDB_DeleteAuthorityPolicy/fail/save-error === RUN TestDB_DeleteAuthorityPolicy/ok --- PASS: TestDB_DeleteAuthorityPolicy (0.00s) --- PASS: TestDB_DeleteAuthorityPolicy/fail/not-found (0.00s) --- PASS: TestDB_DeleteAuthorityPolicy/fail/db.Get-error (0.00s) --- PASS: TestDB_DeleteAuthorityPolicy/fail/save-error (0.00s) --- PASS: TestDB_DeleteAuthorityPolicy/ok (0.00s) === RUN Test_linkedToDB === RUN Test_linkedToDB/nil_policy === RUN Test_linkedToDB/no_x509_nor_ssh === RUN Test_linkedToDB/x509 === RUN Test_linkedToDB/ssh_user === RUN Test_linkedToDB/full_ssh_policy === RUN Test_linkedToDB/full_policy --- PASS: Test_linkedToDB (0.00s) --- PASS: Test_linkedToDB/nil_policy (0.00s) --- PASS: Test_linkedToDB/no_x509_nor_ssh (0.00s) --- PASS: Test_linkedToDB/x509 (0.00s) --- PASS: Test_linkedToDB/ssh_user (0.00s) --- PASS: Test_linkedToDB/full_ssh_policy (0.00s) --- PASS: Test_linkedToDB/full_policy (0.00s) === RUN Test_dbToLinked === RUN Test_dbToLinked/nil_policy === RUN Test_dbToLinked/x509 === RUN Test_dbToLinked/ssh_user === RUN Test_dbToLinked/ssh_host === RUN Test_dbToLinked/full_policy --- PASS: Test_dbToLinked (0.00s) --- PASS: Test_dbToLinked/nil_policy (0.00s) --- PASS: Test_dbToLinked/x509 (0.00s) --- PASS: Test_dbToLinked/ssh_user (0.00s) --- PASS: Test_dbToLinked/ssh_host (0.00s) --- PASS: Test_dbToLinked/full_policy (0.00s) === RUN TestDB_getDBProvisionerBytes === RUN TestDB_getDBProvisionerBytes/fail/not-found === RUN TestDB_getDBProvisionerBytes/fail/db.Get-error === RUN TestDB_getDBProvisionerBytes/ok --- PASS: TestDB_getDBProvisionerBytes (0.00s) --- PASS: TestDB_getDBProvisionerBytes/fail/not-found (0.00s) --- PASS: TestDB_getDBProvisionerBytes/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBProvisionerBytes/ok (0.00s) === RUN TestDB_getDBProvisioner === RUN TestDB_getDBProvisioner/fail/not-found === RUN TestDB_getDBProvisioner/fail/db.Get-error === RUN TestDB_getDBProvisioner/fail/unmarshal-error === RUN TestDB_getDBProvisioner/fail/deleted === RUN TestDB_getDBProvisioner/ok --- PASS: TestDB_getDBProvisioner (0.01s) --- PASS: TestDB_getDBProvisioner/fail/not-found (0.00s) --- PASS: TestDB_getDBProvisioner/fail/db.Get-error (0.00s) --- PASS: TestDB_getDBProvisioner/fail/unmarshal-error (0.00s) --- PASS: TestDB_getDBProvisioner/fail/deleted (0.00s) --- PASS: TestDB_getDBProvisioner/ok (0.00s) === RUN TestDB_unmarshalDBProvisioner === RUN TestDB_unmarshalDBProvisioner/fail/deleted-error === RUN TestDB_unmarshalDBProvisioner/fail/authority-mismatch-error === RUN TestDB_unmarshalDBProvisioner/ok === RUN TestDB_unmarshalDBProvisioner/fail/unmarshal-error --- PASS: TestDB_unmarshalDBProvisioner (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/fail/authority-mismatch-error (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/ok (0.00s) --- PASS: TestDB_unmarshalDBProvisioner/fail/unmarshal-error (0.00s) === RUN TestDB_unmarshalProvisioner === RUN TestDB_unmarshalProvisioner/fail/unmarshal-error === RUN TestDB_unmarshalProvisioner/fail/deleted-error === RUN TestDB_unmarshalProvisioner/ok --- PASS: TestDB_unmarshalProvisioner (0.01s) --- PASS: TestDB_unmarshalProvisioner/fail/unmarshal-error (0.00s) --- PASS: TestDB_unmarshalProvisioner/fail/deleted-error (0.00s) --- PASS: TestDB_unmarshalProvisioner/ok (0.00s) === RUN TestDB_GetProvisioner === RUN TestDB_GetProvisioner/fail/deleted === RUN TestDB_GetProvisioner/fail/authorityID-mismatch === RUN TestDB_GetProvisioner/ok === RUN TestDB_GetProvisioner/fail/not-found === RUN TestDB_GetProvisioner/fail/db.Get-error === RUN TestDB_GetProvisioner/fail/unmarshal-error --- PASS: TestDB_GetProvisioner (0.01s) --- PASS: TestDB_GetProvisioner/fail/deleted (0.00s) --- PASS: TestDB_GetProvisioner/fail/authorityID-mismatch (0.00s) --- PASS: TestDB_GetProvisioner/ok (0.00s) --- PASS: TestDB_GetProvisioner/fail/not-found (0.00s) --- PASS: TestDB_GetProvisioner/fail/db.Get-error (0.00s) --- PASS: TestDB_GetProvisioner/fail/unmarshal-error (0.00s) === RUN TestDB_DeleteProvisioner === RUN TestDB_DeleteProvisioner/fail/db.Get-error === RUN TestDB_DeleteProvisioner/fail/save-error === RUN TestDB_DeleteProvisioner/ok === RUN TestDB_DeleteProvisioner/fail/not-found --- PASS: TestDB_DeleteProvisioner (0.01s) --- PASS: TestDB_DeleteProvisioner/fail/db.Get-error (0.00s) --- PASS: TestDB_DeleteProvisioner/fail/save-error (0.00s) --- PASS: TestDB_DeleteProvisioner/ok (0.00s) --- PASS: TestDB_DeleteProvisioner/fail/not-found (0.00s) === RUN TestDB_GetProvisioners === RUN TestDB_GetProvisioners/fail/db.List-error === RUN TestDB_GetProvisioners/fail/unmarshal-error === RUN TestDB_GetProvisioners/ok/none === RUN TestDB_GetProvisioners/ok/only-invalid === RUN TestDB_GetProvisioners/ok --- PASS: TestDB_GetProvisioners (0.01s) --- PASS: TestDB_GetProvisioners/fail/db.List-error (0.00s) --- PASS: TestDB_GetProvisioners/fail/unmarshal-error (0.00s) --- PASS: TestDB_GetProvisioners/ok/none (0.00s) --- PASS: TestDB_GetProvisioners/ok/only-invalid (0.00s) --- PASS: TestDB_GetProvisioners/ok (0.00s) === RUN TestDB_CreateProvisioner === RUN TestDB_CreateProvisioner/fail/save-error === RUN TestDB_CreateProvisioner/ok --- PASS: TestDB_CreateProvisioner (0.00s) --- PASS: TestDB_CreateProvisioner/fail/save-error (0.00s) --- PASS: TestDB_CreateProvisioner/ok (0.00s) === RUN TestDB_UpdateProvisioner === RUN TestDB_UpdateProvisioner/fail/update-deleted === RUN TestDB_UpdateProvisioner/fail/update-type-error === RUN TestDB_UpdateProvisioner/fail/save-error === RUN TestDB_UpdateProvisioner/ok === RUN TestDB_UpdateProvisioner/fail/not-found === RUN TestDB_UpdateProvisioner/fail/db.Get-error --- PASS: TestDB_UpdateProvisioner (0.01s) --- PASS: TestDB_UpdateProvisioner/fail/update-deleted (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/update-type-error (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/save-error (0.00s) --- PASS: TestDB_UpdateProvisioner/ok (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/not-found (0.00s) --- PASS: TestDB_UpdateProvisioner/fail/db.Get-error (0.00s) === RUN Test_linkedcaWebhooksToDB === RUN Test_linkedcaWebhooksToDB/nil === RUN Test_linkedcaWebhooksToDB/zero === RUN Test_linkedcaWebhooksToDB/bearer === RUN Test_linkedcaWebhooksToDB/basic --- PASS: Test_linkedcaWebhooksToDB (0.00s) --- PASS: Test_linkedcaWebhooksToDB/nil (0.00s) --- PASS: Test_linkedcaWebhooksToDB/zero (0.00s) --- PASS: Test_linkedcaWebhooksToDB/bearer (0.00s) --- PASS: Test_linkedcaWebhooksToDB/basic (0.00s) === RUN Test_dbWebhooksToLinkedca === RUN Test_dbWebhooksToLinkedca/bearer === RUN Test_dbWebhooksToLinkedca/basic === RUN Test_dbWebhooksToLinkedca/nil === RUN Test_dbWebhooksToLinkedca/zero --- PASS: Test_dbWebhooksToLinkedca (0.00s) --- PASS: Test_dbWebhooksToLinkedca/bearer (0.00s) --- PASS: Test_dbWebhooksToLinkedca/basic (0.00s) --- PASS: Test_dbWebhooksToLinkedca/nil (0.00s) --- PASS: Test_dbWebhooksToLinkedca/zero (0.00s) PASS ok github.com/smallstep/certificates/authority/admin/db/nosql 0.383s ? github.com/smallstep/certificates/authority/administrator [no test files] === RUN TestConfigValidate === RUN TestConfigValidate/empty-TLS tc.tls = &{[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] 1.2 1.3 false} *tc.config.TLS = &{[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] 1.2 1.3 false} === RUN TestConfigValidate/tls-min>max === RUN TestConfigValidate/empty-address === RUN TestConfigValidate/invalid-address === RUN TestConfigValidate/empty-intermediate-cert === RUN TestConfigValidate/empty-intermediate-key === RUN TestConfigValidate/custom-tls-values tc.tls = &{[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305] 1.0 1.1 true} *tc.config.TLS = &{[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305] 1.0 1.1 true} === RUN TestConfigValidate/skip-validation tc.tls = *tc.config.TLS = === RUN TestConfigValidate/empty-root === RUN TestConfigValidate/empty-dnsNames === RUN TestConfigValidate/empty-TLS-values tc.tls = &{[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] 1.2 1.3 false} *tc.config.TLS = &{[TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256] 1.2 1.3 false} --- PASS: TestConfigValidate (0.01s) --- PASS: TestConfigValidate/empty-TLS (0.00s) --- PASS: TestConfigValidate/tls-min>max (0.00s) --- PASS: TestConfigValidate/empty-address (0.00s) --- PASS: TestConfigValidate/invalid-address (0.00s) --- PASS: TestConfigValidate/empty-intermediate-cert (0.00s) --- PASS: TestConfigValidate/empty-intermediate-key (0.00s) --- PASS: TestConfigValidate/custom-tls-values (0.00s) --- PASS: TestConfigValidate/skip-validation (0.00s) --- PASS: TestConfigValidate/empty-root (0.00s) --- PASS: TestConfigValidate/empty-dnsNames (0.00s) --- PASS: TestConfigValidate/empty-TLS-values (0.00s) === RUN TestAuthConfigValidate === RUN TestAuthConfigValidate/ok-empty-asn1dn-template === RUN TestAuthConfigValidate/ok-custom-asn1dn === RUN TestAuthConfigValidate/fail-nil-authconfig === RUN TestAuthConfigValidate/ok-empty-provisioners --- PASS: TestAuthConfigValidate (0.00s) --- PASS: TestAuthConfigValidate/ok-empty-asn1dn-template (0.00s) --- PASS: TestAuthConfigValidate/ok-custom-asn1dn (0.00s) --- PASS: TestAuthConfigValidate/fail-nil-authconfig (0.00s) --- PASS: TestAuthConfigValidate/ok-empty-provisioners (0.00s) === RUN Test_toHostname === RUN Test_toHostname/localhost === RUN Test_toHostname/ca.smallstep.com === RUN Test_toHostname/127.0.0.1 === RUN Test_toHostname/::1 === RUN Test_toHostname/[::1] --- PASS: Test_toHostname (0.00s) --- PASS: Test_toHostname/localhost (0.00s) --- PASS: Test_toHostname/ca.smallstep.com (0.00s) --- PASS: Test_toHostname/127.0.0.1 (0.00s) --- PASS: Test_toHostname/::1 (0.00s) --- PASS: Test_toHostname/[::1] (0.00s) === RUN TestConfig_Audience === RUN TestConfig_Audience/ok --- PASS: TestConfig_Audience (0.00s) --- PASS: TestConfig_Audience/ok (0.00s) === RUN TestSSHPublicKey_Validate === RUN TestSSHPublicKey_Validate/user === RUN TestSSHPublicKey_Validate/host === RUN TestSSHPublicKey_Validate/empty === RUN TestSSHPublicKey_Validate/badType === RUN TestSSHPublicKey_Validate/badKey --- PASS: TestSSHPublicKey_Validate (0.01s) --- PASS: TestSSHPublicKey_Validate/user (0.00s) --- PASS: TestSSHPublicKey_Validate/host (0.00s) --- PASS: TestSSHPublicKey_Validate/empty (0.00s) --- PASS: TestSSHPublicKey_Validate/badType (0.00s) --- PASS: TestSSHPublicKey_Validate/badKey (0.00s) === RUN TestSSHPublicKey_PublicKey === RUN TestSSHPublicKey_PublicKey/ok === RUN TestSSHPublicKey_PublicKey/nil --- PASS: TestSSHPublicKey_PublicKey (0.00s) --- PASS: TestSSHPublicKey_PublicKey/ok (0.00s) --- PASS: TestSSHPublicKey_PublicKey/nil (0.00s) === RUN TestTLSVersion_Validate === RUN TestTLSVersion_Validate/default === RUN TestTLSVersion_Validate/1.0 === RUN TestTLSVersion_Validate/1.1 === RUN TestTLSVersion_Validate/1.2 === RUN TestTLSVersion_Validate/1.3 === RUN TestTLSVersion_Validate/0.99 --- PASS: TestTLSVersion_Validate (0.00s) --- PASS: TestTLSVersion_Validate/default (0.00s) --- PASS: TestTLSVersion_Validate/1.0 (0.00s) --- PASS: TestTLSVersion_Validate/1.1 (0.00s) --- PASS: TestTLSVersion_Validate/1.2 (0.00s) --- PASS: TestTLSVersion_Validate/1.3 (0.00s) --- PASS: TestTLSVersion_Validate/0.99 (0.00s) === RUN TestTLSVersion_String === RUN TestTLSVersion_String/default === RUN TestTLSVersion_String/1.0 === RUN TestTLSVersion_String/1.1 === RUN TestTLSVersion_String/1.2 === RUN TestTLSVersion_String/1.3 === RUN TestTLSVersion_String/0.99 --- PASS: TestTLSVersion_String (0.00s) --- PASS: TestTLSVersion_String/default (0.00s) --- PASS: TestTLSVersion_String/1.0 (0.00s) --- PASS: TestTLSVersion_String/1.1 (0.00s) --- PASS: TestTLSVersion_String/1.2 (0.00s) --- PASS: TestTLSVersion_String/1.3 (0.00s) --- PASS: TestTLSVersion_String/0.99 (0.00s) === RUN TestCipherSuites_Validate === RUN TestCipherSuites_Validate/TLS_RSA_WITH_RC4_128_SHA === RUN TestCipherSuites_Validate/TLS_RSA_WITH_3DES_EDE_CBC_SHA === RUN TestCipherSuites_Validate/TLS_RSA_WITH_AES_128_CBC_SHA === RUN TestCipherSuites_Validate/TLS_RSA_WITH_AES_256_CBC_SHA === RUN TestCipherSuites_Validate/TLS_RSA_WITH_AES_128_CBC_SHA256 === RUN TestCipherSuites_Validate/TLS_RSA_WITH_AES_128_GCM_SHA256 === RUN TestCipherSuites_Validate/TLS_RSA_WITH_AES_256_GCM_SHA384 === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_RC4_128_SHA === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 === RUN TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 === RUN TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 === RUN TestCipherSuites_Validate/multiple === RUN TestCipherSuites_Validate/fail --- PASS: TestCipherSuites_Validate (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_RC4_128_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_3DES_EDE_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_AES_128_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_AES_256_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_RSA_WITH_AES_256_GCM_SHA384 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_RC4_128_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0.00s) --- PASS: TestCipherSuites_Validate/TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 (0.00s) --- PASS: TestCipherSuites_Validate/multiple (0.00s) --- PASS: TestCipherSuites_Validate/fail (0.00s) === RUN TestCipherSuites_Value === RUN TestCipherSuites_Value/TLS_RSA_WITH_RC4_128_SHA === RUN TestCipherSuites_Value/TLS_RSA_WITH_3DES_EDE_CBC_SHA === RUN TestCipherSuites_Value/TLS_RSA_WITH_AES_128_CBC_SHA === RUN TestCipherSuites_Value/TLS_RSA_WITH_AES_256_CBC_SHA === RUN TestCipherSuites_Value/TLS_RSA_WITH_AES_128_CBC_SHA256 === RUN TestCipherSuites_Value/TLS_RSA_WITH_AES_128_GCM_SHA256 === RUN TestCipherSuites_Value/TLS_RSA_WITH_AES_256_GCM_SHA384 === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_RC4_128_SHA === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 === RUN TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 === RUN TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 === RUN TestCipherSuites_Value/multiple === RUN TestCipherSuites_Value/fail --- PASS: TestCipherSuites_Value (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_RC4_128_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_3DES_EDE_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_AES_128_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_AES_256_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_RSA_WITH_AES_256_GCM_SHA384 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_RC4_128_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0.00s) --- PASS: TestCipherSuites_Value/TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 (0.00s) --- PASS: TestCipherSuites_Value/multiple (0.00s) --- PASS: TestCipherSuites_Value/fail (0.00s) === RUN TestTLSOptions_TLSConfig === RUN TestTLSOptions_TLSConfig/default === RUN TestTLSOptions_TLSConfig/renegotation --- PASS: TestTLSOptions_TLSConfig (0.00s) --- PASS: TestTLSOptions_TLSConfig/default (0.00s) --- PASS: TestTLSOptions_TLSConfig/renegotation (0.00s) === RUN Test_multiString_First === RUN Test_multiString_First/empty === RUN Test_multiString_First/string === RUN Test_multiString_First/slice --- PASS: Test_multiString_First (0.00s) --- PASS: Test_multiString_First/empty (0.00s) --- PASS: Test_multiString_First/string (0.00s) --- PASS: Test_multiString_First/slice (0.00s) === RUN Test_multiString_Empties === RUN Test_multiString_Empties/empty === RUN Test_multiString_Empties/string === RUN Test_multiString_Empties/empty_string === RUN Test_multiString_Empties/slice === RUN Test_multiString_Empties/empty_slice --- PASS: Test_multiString_Empties (0.00s) --- PASS: Test_multiString_Empties/empty (0.00s) --- PASS: Test_multiString_Empties/string (0.00s) --- PASS: Test_multiString_Empties/empty_string (0.00s) --- PASS: Test_multiString_Empties/slice (0.00s) --- PASS: Test_multiString_Empties/empty_slice (0.00s) === RUN Test_multiString_MarshalJSON === RUN Test_multiString_MarshalJSON/empty === RUN Test_multiString_MarshalJSON/string === RUN Test_multiString_MarshalJSON/slice --- PASS: Test_multiString_MarshalJSON (0.00s) --- PASS: Test_multiString_MarshalJSON/empty (0.00s) --- PASS: Test_multiString_MarshalJSON/string (0.00s) --- PASS: Test_multiString_MarshalJSON/slice (0.00s) === RUN Test_multiString_UnmarshalJSON === RUN Test_multiString_UnmarshalJSON/empty === RUN Test_multiString_UnmarshalJSON/empty_string === RUN Test_multiString_UnmarshalJSON/string === RUN Test_multiString_UnmarshalJSON/slice === RUN Test_multiString_UnmarshalJSON/error === RUN Test_multiString_UnmarshalJSON/nil --- PASS: Test_multiString_UnmarshalJSON (0.00s) --- PASS: Test_multiString_UnmarshalJSON/empty (0.00s) --- PASS: Test_multiString_UnmarshalJSON/empty_string (0.00s) --- PASS: Test_multiString_UnmarshalJSON/string (0.00s) --- PASS: Test_multiString_UnmarshalJSON/slice (0.00s) --- PASS: Test_multiString_UnmarshalJSON/error (0.00s) --- PASS: Test_multiString_UnmarshalJSON/nil (0.00s) PASS ok github.com/smallstep/certificates/authority/config 0.211s === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_with_constraints --- PASS: TestNew (0.21s) --- PASS: TestNew/ok (0.01s) --- PASS: TestNew/ok_with_constraints (0.00s) === RUN TestNew_hasNameConstraints === RUN TestNew_hasNameConstraints/no_constraints === RUN TestNew_hasNameConstraints/permittedDNSDomains === RUN TestNew_hasNameConstraints/excludedDNSDomains === RUN TestNew_hasNameConstraints/permittedIPRanges === RUN TestNew_hasNameConstraints/excludedIPRanges === RUN TestNew_hasNameConstraints/permittedEmailAddresses === RUN TestNew_hasNameConstraints/excludedEmailAddresses === RUN TestNew_hasNameConstraints/permittedURIDomains === RUN TestNew_hasNameConstraints/excludedURIDomains --- PASS: TestNew_hasNameConstraints (0.00s) --- PASS: TestNew_hasNameConstraints/no_constraints (0.00s) --- PASS: TestNew_hasNameConstraints/permittedDNSDomains (0.00s) --- PASS: TestNew_hasNameConstraints/excludedDNSDomains (0.00s) --- PASS: TestNew_hasNameConstraints/permittedIPRanges (0.00s) --- PASS: TestNew_hasNameConstraints/excludedIPRanges (0.00s) --- PASS: TestNew_hasNameConstraints/permittedEmailAddresses (0.00s) --- PASS: TestNew_hasNameConstraints/excludedEmailAddresses (0.00s) --- PASS: TestNew_hasNameConstraints/permittedURIDomains (0.00s) --- PASS: TestNew_hasNameConstraints/excludedURIDomains (0.00s) === RUN TestEngine_Validate === RUN TestEngine_Validate/ok === RUN TestEngine_Validate/ok_permitted_dns === RUN TestEngine_Validate/ok_not_excluded_dns === RUN TestEngine_Validate/ok_permitted_ip === RUN TestEngine_Validate/ok_not_excluded_ip === RUN TestEngine_Validate/ok_permitted_emails === RUN TestEngine_Validate/ok_not_excluded_emails === RUN TestEngine_Validate/ok_permitted_uris === RUN TestEngine_Validate/ok_not_excluded_uris === RUN TestEngine_Validate/fail_permitted_dns === RUN TestEngine_Validate/fail_not_excluded_dns === RUN TestEngine_Validate/fail_permitted_ip === RUN TestEngine_Validate/fail_not_excluded_ip === RUN TestEngine_Validate/fail_permitted_emails === RUN TestEngine_Validate/fail_not_excluded_emails === RUN TestEngine_Validate/fail_permitted_uris === RUN TestEngine_Validate/fail_not_excluded_uris === RUN TestEngine_Validate/fail_parse_emails === RUN TestEngine_Validate/fail_match_dns === RUN TestEngine_Validate/fail_match_email === RUN TestEngine_Validate/fail_match_uri --- PASS: TestEngine_Validate (0.01s) --- PASS: TestEngine_Validate/ok (0.00s) --- PASS: TestEngine_Validate/ok_permitted_dns (0.00s) --- PASS: TestEngine_Validate/ok_not_excluded_dns (0.00s) --- PASS: TestEngine_Validate/ok_permitted_ip (0.00s) --- PASS: TestEngine_Validate/ok_not_excluded_ip (0.00s) --- PASS: TestEngine_Validate/ok_permitted_emails (0.00s) --- PASS: TestEngine_Validate/ok_not_excluded_emails (0.00s) --- PASS: TestEngine_Validate/ok_permitted_uris (0.00s) --- PASS: TestEngine_Validate/ok_not_excluded_uris (0.00s) --- PASS: TestEngine_Validate/fail_permitted_dns (0.00s) --- PASS: TestEngine_Validate/fail_not_excluded_dns (0.00s) --- PASS: TestEngine_Validate/fail_permitted_ip (0.00s) --- PASS: TestEngine_Validate/fail_not_excluded_ip (0.00s) --- PASS: TestEngine_Validate/fail_permitted_emails (0.00s) --- PASS: TestEngine_Validate/fail_not_excluded_emails (0.00s) --- PASS: TestEngine_Validate/fail_permitted_uris (0.00s) --- PASS: TestEngine_Validate/fail_not_excluded_uris (0.00s) --- PASS: TestEngine_Validate/fail_parse_emails (0.00s) --- PASS: TestEngine_Validate/fail_match_dns (0.00s) --- PASS: TestEngine_Validate/fail_match_email (0.00s) --- PASS: TestEngine_Validate/fail_match_uri (0.00s) === RUN TestEngine_Validate_nil --- PASS: TestEngine_Validate_nil (0.00s) === RUN TestEngine_ValidateCertificate === RUN TestEngine_ValidateCertificate/ok === RUN TestEngine_ValidateCertificate/ok_with_constraints === RUN TestEngine_ValidateCertificate/fail --- PASS: TestEngine_ValidateCertificate (0.00s) --- PASS: TestEngine_ValidateCertificate/ok (0.00s) --- PASS: TestEngine_ValidateCertificate/ok_with_constraints (0.00s) --- PASS: TestEngine_ValidateCertificate/fail (0.00s) PASS ok github.com/smallstep/certificates/authority/internal/constraints 0.369s === RUN TestX509PolicyOptions_IsWildcardLiteralAllowed === RUN TestX509PolicyOptions_IsWildcardLiteralAllowed/nil-options === RUN TestX509PolicyOptions_IsWildcardLiteralAllowed/not-set === RUN TestX509PolicyOptions_IsWildcardLiteralAllowed/set-true === RUN TestX509PolicyOptions_IsWildcardLiteralAllowed/set-false --- PASS: TestX509PolicyOptions_IsWildcardLiteralAllowed (0.00s) --- PASS: TestX509PolicyOptions_IsWildcardLiteralAllowed/nil-options (0.00s) --- PASS: TestX509PolicyOptions_IsWildcardLiteralAllowed/not-set (0.00s) --- PASS: TestX509PolicyOptions_IsWildcardLiteralAllowed/set-true (0.00s) --- PASS: TestX509PolicyOptions_IsWildcardLiteralAllowed/set-false (0.00s) === RUN TestPolicyToCertificates === RUN TestPolicyToCertificates/nil === RUN TestPolicyToCertificates/no-policy === RUN TestPolicyToCertificates/partial-policy === RUN TestPolicyToCertificates/full-policy --- PASS: TestPolicyToCertificates (0.00s) --- PASS: TestPolicyToCertificates/nil (0.00s) --- PASS: TestPolicyToCertificates/no-policy (0.00s) --- PASS: TestPolicyToCertificates/partial-policy (0.00s) --- PASS: TestPolicyToCertificates/full-policy (0.00s) PASS ok github.com/smallstep/certificates/authority/policy 0.197s === RUN TestACME_GetAttestationRoots === RUN TestACME_GetAttestationRoots/ok === RUN TestACME_GetAttestationRoots/nil === RUN TestACME_GetAttestationRoots/empty --- PASS: TestACME_GetAttestationRoots (0.03s) --- PASS: TestACME_GetAttestationRoots/ok (0.00s) --- PASS: TestACME_GetAttestationRoots/nil (0.00s) --- PASS: TestACME_GetAttestationRoots/empty (0.00s) === RUN TestAWS_Getters --- PASS: TestAWS_Getters (0.00s) === RUN TestAWS_GetTokenID === RUN TestAWS_GetTokenID/ok === RUN TestAWS_GetTokenID/ok_no_TOFU === RUN TestAWS_GetTokenID/fail --- PASS: TestAWS_GetTokenID (0.08s) --- PASS: TestAWS_GetTokenID/ok (0.01s) --- PASS: TestAWS_GetTokenID/ok_no_TOFU (0.00s) --- PASS: TestAWS_GetTokenID/fail (0.00s) === RUN TestAWS_GetIdentityToken === RUN TestAWS_GetIdentityToken/ok === RUN TestAWS_GetIdentityToken/ok_no_imds === RUN TestAWS_GetIdentityToken/fail_ca_url === RUN TestAWS_GetIdentityToken/fail_identityURL === RUN TestAWS_GetIdentityToken/fail_signatureURL === RUN TestAWS_GetIdentityToken/fail_signature === RUN TestAWS_GetIdentityToken/fail_read_identityURL === RUN TestAWS_GetIdentityToken/fail_read_signatureURL === RUN TestAWS_GetIdentityToken/fail_unmarshal_identityURL --- PASS: TestAWS_GetIdentityToken (0.32s) --- PASS: TestAWS_GetIdentityToken/ok (0.01s) --- PASS: TestAWS_GetIdentityToken/ok_no_imds (0.01s) --- PASS: TestAWS_GetIdentityToken/fail_ca_url (0.02s) --- PASS: TestAWS_GetIdentityToken/fail_identityURL (0.00s) --- PASS: TestAWS_GetIdentityToken/fail_signatureURL (0.02s) --- PASS: TestAWS_GetIdentityToken/fail_signature (0.01s) --- PASS: TestAWS_GetIdentityToken/fail_read_identityURL (0.20s) --- PASS: TestAWS_GetIdentityToken/fail_read_signatureURL (0.01s) --- PASS: TestAWS_GetIdentityToken/fail_unmarshal_identityURL (0.00s) === RUN TestAWS_GetIdentityToken_V1Only --- PASS: TestAWS_GetIdentityToken_V1Only (0.03s) === RUN TestAWS_GetIdentityToken_BadIDMS --- PASS: TestAWS_GetIdentityToken_BadIDMS (0.01s) === RUN TestAWS_Init === RUN TestAWS_Init/ok === RUN TestAWS_Init/ok/v1 === RUN TestAWS_Init/ok/v2 === RUN TestAWS_Init/ok/empty === RUN TestAWS_Init/ok/duration === RUN TestAWS_Init/ok/cert === RUN TestAWS_Init/fail_type_ === RUN TestAWS_Init/fail_name === RUN TestAWS_Init/bad_instance_age === RUN TestAWS_Init/fail/imds === RUN TestAWS_Init/fail/missing === RUN TestAWS_Init/fail/cert === RUN TestAWS_Init/fail_claims --- PASS: TestAWS_Init (0.04s) --- PASS: TestAWS_Init/ok (0.00s) --- PASS: TestAWS_Init/ok/v1 (0.00s) --- PASS: TestAWS_Init/ok/v2 (0.00s) --- PASS: TestAWS_Init/ok/empty (0.00s) --- PASS: TestAWS_Init/ok/duration (0.00s) --- PASS: TestAWS_Init/ok/cert (0.00s) --- PASS: TestAWS_Init/fail_type_ (0.00s) --- PASS: TestAWS_Init/fail_name (0.00s) --- PASS: TestAWS_Init/bad_instance_age (0.00s) --- PASS: TestAWS_Init/fail/imds (0.00s) --- PASS: TestAWS_Init/fail/missing (0.00s) --- PASS: TestAWS_Init/fail/cert (0.01s) --- PASS: TestAWS_Init/fail_claims (0.00s) === RUN TestAWS_authorizeToken === RUN TestAWS_authorizeToken/fail/invalid-account-id === RUN TestAWS_authorizeToken/fail/cannot-validate-sig === RUN TestAWS_authorizeToken/fail/invalid-audience === RUN TestAWS_authorizeToken/ok/identityCert2 === RUN TestAWS_authorizeToken/fail/invalid-token-issuer === RUN TestAWS_authorizeToken/fail/instance-age === RUN TestAWS_authorizeToken/ok/identityCert === RUN TestAWS_authorizeToken/fail/empty-account-id === RUN TestAWS_authorizeToken/fail/empty-instance-id === RUN TestAWS_authorizeToken/fail/empty-region === RUN TestAWS_authorizeToken/ok === RUN TestAWS_authorizeToken/fail/bad-token === RUN TestAWS_authorizeToken/fail/empty-private-ip === RUN TestAWS_authorizeToken/fail/invalid-subject-disabled-custom-SANs --- PASS: TestAWS_authorizeToken (8.63s) --- PASS: TestAWS_authorizeToken/fail/invalid-account-id (0.01s) --- PASS: TestAWS_authorizeToken/fail/cannot-validate-sig (0.06s) --- PASS: TestAWS_authorizeToken/fail/invalid-audience (0.01s) --- PASS: TestAWS_authorizeToken/ok/identityCert2 (0.01s) --- PASS: TestAWS_authorizeToken/fail/invalid-token-issuer (0.03s) --- PASS: TestAWS_authorizeToken/fail/instance-age (0.02s) --- PASS: TestAWS_authorizeToken/ok/identityCert (0.02s) --- PASS: TestAWS_authorizeToken/fail/empty-account-id (0.02s) --- PASS: TestAWS_authorizeToken/fail/empty-instance-id (0.01s) --- PASS: TestAWS_authorizeToken/fail/empty-region (0.01s) --- PASS: TestAWS_authorizeToken/ok (0.01s) --- PASS: TestAWS_authorizeToken/fail/bad-token (0.00s) --- PASS: TestAWS_authorizeToken/fail/empty-private-ip (0.01s) --- PASS: TestAWS_authorizeToken/fail/invalid-subject-disabled-custom-SANs (0.01s) === RUN TestAWS_AuthorizeSign === RUN TestAWS_AuthorizeSign/ok === RUN TestAWS_AuthorizeSign/ok#01 === RUN TestAWS_AuthorizeSign/ok#02 === RUN TestAWS_AuthorizeSign/ok#03 === RUN TestAWS_AuthorizeSign/ok#04 === RUN TestAWS_AuthorizeSign/fail_account === RUN TestAWS_AuthorizeSign/fail_token === RUN TestAWS_AuthorizeSign/fail_subject === RUN TestAWS_AuthorizeSign/fail_issuer === RUN TestAWS_AuthorizeSign/fail_audience === RUN TestAWS_AuthorizeSign/fail_account#01 === RUN TestAWS_AuthorizeSign/fail_instanceID === RUN TestAWS_AuthorizeSign/fail_privateIP === RUN TestAWS_AuthorizeSign/fail_region === RUN TestAWS_AuthorizeSign/fail_exp === RUN TestAWS_AuthorizeSign/fail_nbf === RUN TestAWS_AuthorizeSign/fail_key === RUN TestAWS_AuthorizeSign/fail_instance_age --- PASS: TestAWS_AuthorizeSign (8.31s) --- PASS: TestAWS_AuthorizeSign/ok (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#01 (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#02 (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#03 (0.00s) --- PASS: TestAWS_AuthorizeSign/ok#04 (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_account (0.01s) --- PASS: TestAWS_AuthorizeSign/fail_token (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_subject (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_issuer (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_audience (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_account#01 (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_instanceID (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_privateIP (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_region (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_exp (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_nbf (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_key (0.00s) --- PASS: TestAWS_AuthorizeSign/fail_instance_age (0.00s) === RUN TestAWS_AuthorizeSSHSign === RUN TestAWS_AuthorizeSSHSign/ok === RUN TestAWS_AuthorizeSSHSign/ok-rsa2048 === RUN TestAWS_AuthorizeSSHSign/ok-type === RUN TestAWS_AuthorizeSSHSign/ok-principals === RUN TestAWS_AuthorizeSSHSign/ok-principal-ip === RUN TestAWS_AuthorizeSSHSign/ok-principal-hostname === RUN TestAWS_AuthorizeSSHSign/ok-options === RUN TestAWS_AuthorizeSSHSign/ok-custom === RUN TestAWS_AuthorizeSSHSign/fail-rsa1024 === RUN TestAWS_AuthorizeSSHSign/fail-type === RUN TestAWS_AuthorizeSSHSign/fail-principal === RUN TestAWS_AuthorizeSSHSign/fail-extra-principal === RUN TestAWS_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestAWS_AuthorizeSSHSign/fail-invalid-token --- PASS: TestAWS_AuthorizeSSHSign (3.95s) --- PASS: TestAWS_AuthorizeSSHSign/ok (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-rsa2048 (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-type (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-principals (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-principal-ip (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-principal-hostname (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-options (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/ok-custom (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/fail-rsa1024 (0.01s) --- PASS: TestAWS_AuthorizeSSHSign/fail-type (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/fail-principal (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/fail-extra-principal (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) --- PASS: TestAWS_AuthorizeSSHSign/fail-invalid-token (0.00s) === RUN TestAWS_AuthorizeRenew === RUN TestAWS_AuthorizeRenew/ok === RUN TestAWS_AuthorizeRenew/fail/renew-disabled --- PASS: TestAWS_AuthorizeRenew (0.02s) --- PASS: TestAWS_AuthorizeRenew/ok (0.00s) --- PASS: TestAWS_AuthorizeRenew/fail/renew-disabled (0.00s) === RUN TestAzure_Getters --- PASS: TestAzure_Getters (0.00s) === RUN TestAzure_GetTokenID === RUN TestAzure_GetTokenID/ok === RUN TestAzure_GetTokenID/ok_no_TOFU === RUN TestAzure_GetTokenID/fail_token === RUN TestAzure_GetTokenID/fail_claims --- PASS: TestAzure_GetTokenID (0.03s) --- PASS: TestAzure_GetTokenID/ok (0.00s) --- PASS: TestAzure_GetTokenID/ok_no_TOFU (0.00s) --- PASS: TestAzure_GetTokenID/fail_token (0.00s) --- PASS: TestAzure_GetTokenID/fail_claims (0.00s) === RUN TestAzure_GetIdentityToken === RUN TestAzure_GetIdentityToken/ok === RUN TestAzure_GetIdentityToken/fail_request === RUN TestAzure_GetIdentityToken/fail_unmarshal === RUN TestAzure_GetIdentityToken/fail_url === RUN TestAzure_GetIdentityToken/fail_connect --- PASS: TestAzure_GetIdentityToken (0.01s) --- PASS: TestAzure_GetIdentityToken/ok (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_request (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_unmarshal (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_url (0.00s) --- PASS: TestAzure_GetIdentityToken/fail_connect (0.00s) === RUN TestAzure_Init === RUN TestAzure_Init/ok === RUN TestAzure_Init/ok_with_config === RUN TestAzure_Init/fail_type === RUN TestAzure_Init/fail_name === RUN TestAzure_Init/fail_tenant_id === RUN TestAzure_Init/fail_claims === RUN TestAzure_Init/fail_discovery_URL === RUN TestAzure_Init/fail_JWK_URL === RUN TestAzure_Init/fail_config_Validate --- PASS: TestAzure_Init (0.03s) --- PASS: TestAzure_Init/ok (0.00s) --- PASS: TestAzure_Init/ok_with_config (0.00s) --- PASS: TestAzure_Init/fail_type (0.00s) --- PASS: TestAzure_Init/fail_name (0.00s) --- PASS: TestAzure_Init/fail_tenant_id (0.00s) --- PASS: TestAzure_Init/fail_claims (0.00s) --- PASS: TestAzure_Init/fail_discovery_URL (0.00s) --- PASS: TestAzure_Init/fail_JWK_URL (0.01s) --- PASS: TestAzure_Init/fail_config_Validate (0.00s) === RUN TestAzure_authorizeToken === RUN TestAzure_authorizeToken/fail/invalid-token-issuer === RUN TestAzure_authorizeToken/fail/invalid-tenant-id === RUN TestAzure_authorizeToken/fail/invalid-xms-mir-id === RUN TestAzure_authorizeToken/ok === RUN TestAzure_authorizeToken/fail/bad-token === RUN TestAzure_authorizeToken/fail/cannot-validate-sig --- PASS: TestAzure_authorizeToken (0.09s) --- PASS: TestAzure_authorizeToken/fail/invalid-token-issuer (0.01s) --- PASS: TestAzure_authorizeToken/fail/invalid-tenant-id (0.01s) --- PASS: TestAzure_authorizeToken/fail/invalid-xms-mir-id (0.03s) --- PASS: TestAzure_authorizeToken/ok (0.02s) --- PASS: TestAzure_authorizeToken/fail/bad-token (0.00s) --- PASS: TestAzure_authorizeToken/fail/cannot-validate-sig (0.01s) === RUN TestAzure_AuthorizeSign === RUN TestAzure_AuthorizeSign/ok === RUN TestAzure_AuthorizeSign/ok#01 === RUN TestAzure_AuthorizeSign/ok#02 === RUN TestAzure_AuthorizeSign/ok#03 === RUN TestAzure_AuthorizeSign/ok#04 === RUN TestAzure_AuthorizeSign/fail_tenant === RUN TestAzure_AuthorizeSign/fail_resource_group === RUN TestAzure_AuthorizeSign/fail_subscription === RUN TestAzure_AuthorizeSign/fail_object_id === RUN TestAzure_AuthorizeSign/fail_token === RUN TestAzure_AuthorizeSign/fail_issuer === RUN TestAzure_AuthorizeSign/fail_audience === RUN TestAzure_AuthorizeSign/fail_exp === RUN TestAzure_AuthorizeSign/fail_nbf === RUN TestAzure_AuthorizeSign/fail_key --- PASS: TestAzure_AuthorizeSign (0.23s) --- PASS: TestAzure_AuthorizeSign/ok (0.01s) --- PASS: TestAzure_AuthorizeSign/ok#01 (0.01s) --- PASS: TestAzure_AuthorizeSign/ok#02 (0.01s) --- PASS: TestAzure_AuthorizeSign/ok#03 (0.01s) --- PASS: TestAzure_AuthorizeSign/ok#04 (0.01s) --- PASS: TestAzure_AuthorizeSign/fail_tenant (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_resource_group (0.01s) --- PASS: TestAzure_AuthorizeSign/fail_subscription (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_object_id (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_token (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_issuer (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_audience (0.01s) --- PASS: TestAzure_AuthorizeSign/fail_exp (0.00s) --- PASS: TestAzure_AuthorizeSign/fail_nbf (0.01s) --- PASS: TestAzure_AuthorizeSign/fail_key (0.00s) === RUN TestAzure_AuthorizeRenew === RUN TestAzure_AuthorizeRenew/ok === RUN TestAzure_AuthorizeRenew/fail/renew-disabled --- PASS: TestAzure_AuthorizeRenew (0.00s) --- PASS: TestAzure_AuthorizeRenew/ok (0.00s) --- PASS: TestAzure_AuthorizeRenew/fail/renew-disabled (0.00s) === RUN TestAzure_AuthorizeSSHSign === RUN TestAzure_AuthorizeSSHSign/ok === RUN TestAzure_AuthorizeSSHSign/ok-rsa2048 === RUN TestAzure_AuthorizeSSHSign/ok-type === RUN TestAzure_AuthorizeSSHSign/ok-principals === RUN TestAzure_AuthorizeSSHSign/ok-options === RUN TestAzure_AuthorizeSSHSign/ok-custom === RUN TestAzure_AuthorizeSSHSign/fail-rsa1024 === RUN TestAzure_AuthorizeSSHSign/fail-type === RUN TestAzure_AuthorizeSSHSign/fail-principal === RUN TestAzure_AuthorizeSSHSign/fail-extra-principal === RUN TestAzure_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestAzure_AuthorizeSSHSign/fail-invalid-token --- PASS: TestAzure_AuthorizeSSHSign (5.32s) --- PASS: TestAzure_AuthorizeSSHSign/ok (0.03s) --- PASS: TestAzure_AuthorizeSSHSign/ok-rsa2048 (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/ok-type (0.02s) --- PASS: TestAzure_AuthorizeSSHSign/ok-principals (0.02s) --- PASS: TestAzure_AuthorizeSSHSign/ok-options (0.02s) --- PASS: TestAzure_AuthorizeSSHSign/ok-custom (0.02s) --- PASS: TestAzure_AuthorizeSSHSign/fail-rsa1024 (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/fail-type (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/fail-principal (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/fail-extra-principal (0.01s) --- PASS: TestAzure_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) --- PASS: TestAzure_AuthorizeSSHSign/fail-invalid-token (0.00s) === RUN TestAzure_assertConfig === RUN TestAzure_assertConfig/ok_with_config === RUN TestAzure_assertConfig/ok_no_config --- PASS: TestAzure_assertConfig (0.00s) --- PASS: TestAzure_assertConfig/ok_with_config (0.00s) --- PASS: TestAzure_assertConfig/ok_no_config (0.00s) === RUN TestClaimer_DefaultSSHCertDuration === RUN TestClaimer_DefaultSSHCertDuration/user === RUN TestClaimer_DefaultSSHCertDuration/user_global === RUN TestClaimer_DefaultSSHCertDuration/host_global === RUN TestClaimer_DefaultSSHCertDuration/host_global#01 === RUN TestClaimer_DefaultSSHCertDuration/invalid === RUN TestClaimer_DefaultSSHCertDuration/invalid_global --- PASS: TestClaimer_DefaultSSHCertDuration (0.00s) --- PASS: TestClaimer_DefaultSSHCertDuration/user (0.00s) --- PASS: TestClaimer_DefaultSSHCertDuration/user_global (0.00s) --- PASS: TestClaimer_DefaultSSHCertDuration/host_global (0.00s) --- PASS: TestClaimer_DefaultSSHCertDuration/host_global#01 (0.00s) --- PASS: TestClaimer_DefaultSSHCertDuration/invalid (0.00s) --- PASS: TestClaimer_DefaultSSHCertDuration/invalid_global (0.00s) === RUN TestCollection_Load === RUN TestCollection_Load/ok === RUN TestCollection_Load/fail === RUN TestCollection_Load/invalid --- PASS: TestCollection_Load (3.33s) --- PASS: TestCollection_Load/ok (0.00s) --- PASS: TestCollection_Load/fail (0.00s) --- PASS: TestCollection_Load/invalid (0.00s) === RUN TestCollection_LoadByToken === RUN TestCollection_LoadByToken/ok1 === RUN TestCollection_LoadByToken/ok2 === RUN TestCollection_LoadByToken/ok3 === RUN TestCollection_LoadByToken/ok4 === RUN TestCollection_LoadByToken/bad === RUN TestCollection_LoadByToken/fail === RUN TestCollection_LoadByToken/fail-no-k8sSa-provisioner --- PASS: TestCollection_LoadByToken (14.33s) --- PASS: TestCollection_LoadByToken/ok1 (0.00s) --- PASS: TestCollection_LoadByToken/ok2 (0.00s) --- PASS: TestCollection_LoadByToken/ok3 (0.00s) --- PASS: TestCollection_LoadByToken/ok4 (0.00s) --- PASS: TestCollection_LoadByToken/bad (0.00s) --- PASS: TestCollection_LoadByToken/fail (0.00s) --- PASS: TestCollection_LoadByToken/fail-no-k8sSa-provisioner (0.00s) === RUN TestCollection_LoadByCertificate === RUN TestCollection_LoadByCertificate/ok1 === RUN TestCollection_LoadByCertificate/ok2 === RUN TestCollection_LoadByCertificate/ok3 === RUN TestCollection_LoadByCertificate/noExtension === RUN TestCollection_LoadByCertificate/notFound === RUN TestCollection_LoadByCertificate/badCert --- PASS: TestCollection_LoadByCertificate (3.30s) --- PASS: TestCollection_LoadByCertificate/ok1 (0.00s) --- PASS: TestCollection_LoadByCertificate/ok2 (0.00s) --- PASS: TestCollection_LoadByCertificate/ok3 (0.00s) --- PASS: TestCollection_LoadByCertificate/noExtension (0.00s) --- PASS: TestCollection_LoadByCertificate/notFound (0.00s) --- PASS: TestCollection_LoadByCertificate/badCert (0.00s) === RUN TestCollection_LoadEncryptedKey === RUN TestCollection_LoadEncryptedKey/ok === RUN TestCollection_LoadEncryptedKey/oidc === RUN TestCollection_LoadEncryptedKey/notFound --- PASS: TestCollection_LoadEncryptedKey (3.47s) --- PASS: TestCollection_LoadEncryptedKey/ok (0.00s) --- PASS: TestCollection_LoadEncryptedKey/oidc (0.00s) --- PASS: TestCollection_LoadEncryptedKey/notFound (0.00s) === RUN TestCollection_Store === RUN TestCollection_Store/ok1 === RUN TestCollection_Store/ok2 === RUN TestCollection_Store/fail1 === RUN TestCollection_Store/fail2 --- PASS: TestCollection_Store (2.55s) --- PASS: TestCollection_Store/ok1 (0.00s) --- PASS: TestCollection_Store/ok2 (0.00s) --- PASS: TestCollection_Store/fail1 (0.00s) --- PASS: TestCollection_Store/fail2 (0.00s) === RUN TestCollection_Find === RUN TestCollection_Find/all === RUN TestCollection_Find/0_to_19 === RUN TestCollection_Find/0_to_9 === RUN TestCollection_Find/9_to_19 === RUN TestCollection_Find/1 === RUN TestCollection_Find/1_to_5 === RUN TestCollection_Find/defaultLimit === RUN TestCollection_Find/overTheLimit --- PASS: TestCollection_Find (31.06s) --- PASS: TestCollection_Find/all (0.00s) --- PASS: TestCollection_Find/0_to_19 (0.00s) --- PASS: TestCollection_Find/0_to_9 (0.00s) --- PASS: TestCollection_Find/9_to_19 (0.00s) --- PASS: TestCollection_Find/1 (0.00s) --- PASS: TestCollection_Find/1_to_5 (0.00s) --- PASS: TestCollection_Find/defaultLimit (0.00s) --- PASS: TestCollection_Find/overTheLimit (0.00s) === RUN Test_matchesAudience === RUN Test_matchesAudience/true,portsB === RUN Test_matchesAudience/true,portsAB === RUN Test_matchesAudience/false_arg1_empty === RUN Test_matchesAudience/false_arg2_empty === RUN Test_matchesAudience/false_arg1,arg2_empty === RUN Test_matchesAudience/false === RUN Test_matchesAudience/true === RUN Test_matchesAudience/true,portsA --- PASS: Test_matchesAudience (0.00s) --- PASS: Test_matchesAudience/true,portsB (0.00s) --- PASS: Test_matchesAudience/true,portsAB (0.00s) --- PASS: Test_matchesAudience/false_arg1_empty (0.00s) --- PASS: Test_matchesAudience/false_arg2_empty (0.00s) --- PASS: Test_matchesAudience/false_arg1,arg2_empty (0.00s) --- PASS: Test_matchesAudience/false (0.00s) --- PASS: Test_matchesAudience/true (0.00s) --- PASS: Test_matchesAudience/true,portsA (0.00s) === RUN Test_stripPort === RUN Test_stripPort/with_port === RUN Test_stripPort/with_no_port === RUN Test_stripPort/bad_url --- PASS: Test_stripPort (0.00s) --- PASS: Test_stripPort/with_port (0.00s) --- PASS: Test_stripPort/with_no_port (0.00s) --- PASS: Test_stripPort/bad_url (0.00s) === RUN TestNewController === RUN TestNewController/ok === RUN TestNewController/ok_with_claims === RUN TestNewController/ok_with_claims_and_options === RUN TestNewController/fail_claimer === RUN TestNewController/fail_options --- PASS: TestNewController (0.00s) --- PASS: TestNewController/ok (0.00s) --- PASS: TestNewController/ok_with_claims (0.00s) --- PASS: TestNewController/ok_with_claims_and_options (0.00s) --- PASS: TestNewController/fail_claimer (0.00s) --- PASS: TestNewController/fail_options (0.00s) === RUN TestController_GetIdentity === RUN TestController_GetIdentity/ok === RUN TestController_GetIdentity/ok_custom === RUN TestController_GetIdentity/fail_provisioner === RUN TestController_GetIdentity/fail_custom --- PASS: TestController_GetIdentity (0.00s) --- PASS: TestController_GetIdentity/ok (0.00s) --- PASS: TestController_GetIdentity/ok_custom (0.00s) --- PASS: TestController_GetIdentity/fail_provisioner (0.00s) --- PASS: TestController_GetIdentity/fail_custom (0.00s) === RUN TestController_AuthorizeRenew === RUN TestController_AuthorizeRenew/ok === RUN TestController_AuthorizeRenew/ok_custom === RUN TestController_AuthorizeRenew/ok_custom_disabled === RUN TestController_AuthorizeRenew/ok_renew_after_expiry === RUN TestController_AuthorizeRenew/fail_disabled === RUN TestController_AuthorizeRenew/fail_not_yet_valid === RUN TestController_AuthorizeRenew/fail_expired === RUN TestController_AuthorizeRenew/fail_custom --- PASS: TestController_AuthorizeRenew (0.00s) --- PASS: TestController_AuthorizeRenew/ok (0.00s) --- PASS: TestController_AuthorizeRenew/ok_custom (0.00s) --- PASS: TestController_AuthorizeRenew/ok_custom_disabled (0.00s) --- PASS: TestController_AuthorizeRenew/ok_renew_after_expiry (0.00s) --- PASS: TestController_AuthorizeRenew/fail_disabled (0.00s) --- PASS: TestController_AuthorizeRenew/fail_not_yet_valid (0.00s) --- PASS: TestController_AuthorizeRenew/fail_expired (0.00s) --- PASS: TestController_AuthorizeRenew/fail_custom (0.00s) === RUN TestController_AuthorizeSSHRenew === RUN TestController_AuthorizeSSHRenew/ok === RUN TestController_AuthorizeSSHRenew/ok_custom === RUN TestController_AuthorizeSSHRenew/ok_custom_disabled === RUN TestController_AuthorizeSSHRenew/ok_renew_after_expiry === RUN TestController_AuthorizeSSHRenew/fail_disabled === RUN TestController_AuthorizeSSHRenew/fail_not_yet_valid === RUN TestController_AuthorizeSSHRenew/fail_expired === RUN TestController_AuthorizeSSHRenew/fail_custom --- PASS: TestController_AuthorizeSSHRenew (0.01s) --- PASS: TestController_AuthorizeSSHRenew/ok (0.00s) --- PASS: TestController_AuthorizeSSHRenew/ok_custom (0.00s) --- PASS: TestController_AuthorizeSSHRenew/ok_custom_disabled (0.00s) --- PASS: TestController_AuthorizeSSHRenew/ok_renew_after_expiry (0.00s) --- PASS: TestController_AuthorizeSSHRenew/fail_disabled (0.00s) --- PASS: TestController_AuthorizeSSHRenew/fail_not_yet_valid (0.00s) --- PASS: TestController_AuthorizeSSHRenew/fail_expired (0.00s) --- PASS: TestController_AuthorizeSSHRenew/fail_custom (0.00s) === RUN TestDefaultAuthorizeRenew === RUN TestDefaultAuthorizeRenew/ok === RUN TestDefaultAuthorizeRenew/ok_renew_after_expiry === RUN TestDefaultAuthorizeRenew/fail_disabled === RUN TestDefaultAuthorizeRenew/fail_not_yet_valid === RUN TestDefaultAuthorizeRenew/fail_expired --- PASS: TestDefaultAuthorizeRenew (0.00s) --- PASS: TestDefaultAuthorizeRenew/ok (0.00s) --- PASS: TestDefaultAuthorizeRenew/ok_renew_after_expiry (0.00s) --- PASS: TestDefaultAuthorizeRenew/fail_disabled (0.00s) --- PASS: TestDefaultAuthorizeRenew/fail_not_yet_valid (0.00s) --- PASS: TestDefaultAuthorizeRenew/fail_expired (0.00s) === RUN TestDefaultAuthorizeSSHRenew === RUN TestDefaultAuthorizeSSHRenew/ok === RUN TestDefaultAuthorizeSSHRenew/ok_renew_after_expiry === RUN TestDefaultAuthorizeSSHRenew/fail_disabled === RUN TestDefaultAuthorizeSSHRenew/fail_not_yet_valid === RUN TestDefaultAuthorizeSSHRenew/fail_expired --- PASS: TestDefaultAuthorizeSSHRenew (0.00s) --- PASS: TestDefaultAuthorizeSSHRenew/ok (0.00s) --- PASS: TestDefaultAuthorizeSSHRenew/ok_renew_after_expiry (0.00s) --- PASS: TestDefaultAuthorizeSSHRenew/fail_disabled (0.00s) --- PASS: TestDefaultAuthorizeSSHRenew/fail_not_yet_valid (0.00s) --- PASS: TestDefaultAuthorizeSSHRenew/fail_expired (0.00s) === RUN Test_newWebhookController --- PASS: Test_newWebhookController (0.00s) === RUN TestNewDuration === RUN TestNewDuration/ok === RUN TestNewDuration/fail_empty === RUN TestNewDuration/fail_number === RUN TestNewDuration/fail_string --- PASS: TestNewDuration (0.00s) --- PASS: TestNewDuration/ok (0.00s) --- PASS: TestNewDuration/fail_empty (0.00s) --- PASS: TestNewDuration/fail_number (0.00s) --- PASS: TestNewDuration/fail_string (0.00s) === RUN TestDuration_UnmarshalJSON === RUN TestDuration_UnmarshalJSON/empty === RUN TestDuration_UnmarshalJSON/bad_type === RUN TestDuration_UnmarshalJSON/empty_string === RUN TestDuration_UnmarshalJSON/non_duration === RUN TestDuration_UnmarshalJSON/duration === RUN TestDuration_UnmarshalJSON/nil --- PASS: TestDuration_UnmarshalJSON (0.00s) --- PASS: TestDuration_UnmarshalJSON/empty (0.00s) --- PASS: TestDuration_UnmarshalJSON/bad_type (0.00s) --- PASS: TestDuration_UnmarshalJSON/empty_string (0.00s) --- PASS: TestDuration_UnmarshalJSON/non_duration (0.00s) --- PASS: TestDuration_UnmarshalJSON/duration (0.00s) --- PASS: TestDuration_UnmarshalJSON/nil (0.00s) === RUN TestDuration_MarshalJSON === RUN TestDuration_MarshalJSON/string --- PASS: TestDuration_MarshalJSON (0.00s) --- PASS: TestDuration_MarshalJSON/string (0.00s) === RUN TestDuration_Value === RUN TestDuration_Value/ok === RUN TestDuration_Value/ok_new === RUN TestDuration_Value/ok_nil === RUN TestDuration_Value/ok_nil_var --- PASS: TestDuration_Value (0.00s) --- PASS: TestDuration_Value/ok (0.00s) --- PASS: TestDuration_Value/ok_new (0.00s) --- PASS: TestDuration_Value/ok_nil (0.00s) --- PASS: TestDuration_Value/ok_nil_var (0.00s) === RUN TestExtension_Marshal === RUN TestExtension_Marshal/ok === RUN TestExtension_Marshal/ok_with_pairs --- PASS: TestExtension_Marshal (0.00s) --- PASS: TestExtension_Marshal/ok (0.00s) --- PASS: TestExtension_Marshal/ok_with_pairs (0.00s) === RUN TestExtension_ToExtension === RUN TestExtension_ToExtension/ok === RUN TestExtension_ToExtension/ok_empty_pairs === RUN TestExtension_ToExtension/ok_with_pairs --- PASS: TestExtension_ToExtension (0.00s) --- PASS: TestExtension_ToExtension/ok (0.00s) --- PASS: TestExtension_ToExtension/ok_empty_pairs (0.00s) --- PASS: TestExtension_ToExtension/ok_with_pairs (0.00s) === RUN TestGetProvisionerExtension === RUN TestGetProvisionerExtension/ok === RUN TestGetProvisionerExtension/fail_unmarshal === RUN TestGetProvisionerExtension/missing_extension --- PASS: TestGetProvisionerExtension (0.01s) --- PASS: TestGetProvisionerExtension/ok (0.00s) --- PASS: TestGetProvisionerExtension/fail_unmarshal (0.00s) --- PASS: TestGetProvisionerExtension/missing_extension (0.00s) === RUN TestGCP_Getters --- PASS: TestGCP_Getters (0.00s) === RUN TestGCP_GetTokenID === RUN TestGCP_GetTokenID/ok === RUN TestGCP_GetTokenID/ok#01 === RUN TestGCP_GetTokenID/fail_token === RUN TestGCP_GetTokenID/fail_claims --- PASS: TestGCP_GetTokenID (0.02s) --- PASS: TestGCP_GetTokenID/ok (0.00s) --- PASS: TestGCP_GetTokenID/ok#01 (0.00s) --- PASS: TestGCP_GetTokenID/fail_token (0.00s) --- PASS: TestGCP_GetTokenID/fail_claims (0.00s) === RUN TestGCP_GetIdentityToken === RUN TestGCP_GetIdentityToken/ok gcp_test.go:149: === RUN TestGCP_GetIdentityToken/fail_ca_url gcp_test.go:149: error parsing ://ca: parse "://ca": missing protocol scheme === RUN TestGCP_GetIdentityToken/fail_request gcp_test.go:149: error on identity request: status=400, response=Bad Request === RUN TestGCP_GetIdentityToken/fail_url gcp_test.go:149: error creating identity request: parse "://ca.smallstep.com?audience=https%3A%2F%2Fca%2F1.0%2Fsign%23gcp%2FuBPfV9VeKC&format=full&licenses=FALSE": missing protocol scheme === RUN TestGCP_GetIdentityToken/fail_connect gcp_test.go:149: error doing identity request, are you in a GCP VM?: Get "foobarzar?audience=https%3A%2F%2Fca%2F1.0%2Fsign%23gcp%2FuBPfV9VeKC&format=full&licenses=FALSE": unsupported protocol scheme "" --- PASS: TestGCP_GetIdentityToken (0.03s) --- PASS: TestGCP_GetIdentityToken/ok (0.01s) --- PASS: TestGCP_GetIdentityToken/fail_ca_url (0.00s) --- PASS: TestGCP_GetIdentityToken/fail_request (0.00s) --- PASS: TestGCP_GetIdentityToken/fail_url (0.00s) --- PASS: TestGCP_GetIdentityToken/fail_connect (0.00s) === RUN TestGCP_Init === RUN TestGCP_Init/ok === RUN TestGCP_Init/ok#01 === RUN TestGCP_Init/ok#02 === RUN TestGCP_Init/bad_type === RUN TestGCP_Init/bad_name === RUN TestGCP_Init/bad_duration === RUN TestGCP_Init/bad_claims === RUN TestGCP_Init/bad_certs --- PASS: TestGCP_Init (0.02s) --- PASS: TestGCP_Init/ok (0.01s) --- PASS: TestGCP_Init/ok#01 (0.00s) --- PASS: TestGCP_Init/ok#02 (0.00s) --- PASS: TestGCP_Init/bad_type (0.00s) --- PASS: TestGCP_Init/bad_name (0.00s) --- PASS: TestGCP_Init/bad_duration (0.00s) --- PASS: TestGCP_Init/bad_claims (0.00s) --- PASS: TestGCP_Init/bad_certs (0.00s) === RUN TestGCP_authorizeToken === RUN TestGCP_authorizeToken/fail/bad-token === RUN TestGCP_authorizeToken/fail/invalid-issuer === RUN TestGCP_authorizeToken/fail/invalid-projectID === RUN TestGCP_authorizeToken/ok === RUN TestGCP_authorizeToken/fail/cannot-validate-sig === RUN TestGCP_authorizeToken/fail/invalid-serviceAccount === RUN TestGCP_authorizeToken/fail/instance-age === RUN TestGCP_authorizeToken/fail/empty-instance-id === RUN TestGCP_authorizeToken/fail/empty-instance-name === RUN TestGCP_authorizeToken/fail/empty-project-id === RUN TestGCP_authorizeToken/fail/empty-zone --- PASS: TestGCP_authorizeToken (0.23s) --- PASS: TestGCP_authorizeToken/fail/bad-token (0.00s) --- PASS: TestGCP_authorizeToken/fail/invalid-issuer (0.02s) --- PASS: TestGCP_authorizeToken/fail/invalid-projectID (0.03s) --- PASS: TestGCP_authorizeToken/ok (0.03s) --- PASS: TestGCP_authorizeToken/fail/cannot-validate-sig (0.02s) --- PASS: TestGCP_authorizeToken/fail/invalid-serviceAccount (0.03s) --- PASS: TestGCP_authorizeToken/fail/instance-age (0.03s) --- PASS: TestGCP_authorizeToken/fail/empty-instance-id (0.01s) --- PASS: TestGCP_authorizeToken/fail/empty-instance-name (0.02s) --- PASS: TestGCP_authorizeToken/fail/empty-project-id (0.01s) --- PASS: TestGCP_authorizeToken/fail/empty-zone (0.01s) === RUN TestGCP_AuthorizeSign === RUN TestGCP_AuthorizeSign/ok === RUN TestGCP_AuthorizeSign/ok#01 === RUN TestGCP_AuthorizeSign/ok#02 === RUN TestGCP_AuthorizeSign/fail_token === RUN TestGCP_AuthorizeSign/fail_key === RUN TestGCP_AuthorizeSign/fail_iss === RUN TestGCP_AuthorizeSign/fail_aud === RUN TestGCP_AuthorizeSign/fail_exp === RUN TestGCP_AuthorizeSign/fail_nbf === RUN TestGCP_AuthorizeSign/fail_service_account === RUN TestGCP_AuthorizeSign/fail_invalid_project_id === RUN TestGCP_AuthorizeSign/fail_invalid_instance_age === RUN TestGCP_AuthorizeSign/fail_instance_id === RUN TestGCP_AuthorizeSign/fail_instance_name === RUN TestGCP_AuthorizeSign/fail_project_id === RUN TestGCP_AuthorizeSign/fail_zone --- PASS: TestGCP_AuthorizeSign (0.23s) --- PASS: TestGCP_AuthorizeSign/ok (0.01s) --- PASS: TestGCP_AuthorizeSign/ok#01 (0.02s) --- PASS: TestGCP_AuthorizeSign/ok#02 (0.01s) --- PASS: TestGCP_AuthorizeSign/fail_token (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_key (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_iss (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_aud (0.02s) --- PASS: TestGCP_AuthorizeSign/fail_exp (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_nbf (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_service_account (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_invalid_project_id (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_invalid_instance_age (0.01s) --- PASS: TestGCP_AuthorizeSign/fail_instance_id (0.01s) --- PASS: TestGCP_AuthorizeSign/fail_instance_name (0.00s) --- PASS: TestGCP_AuthorizeSign/fail_project_id (0.01s) --- PASS: TestGCP_AuthorizeSign/fail_zone (0.00s) === RUN TestGCP_AuthorizeSSHSign === RUN TestGCP_AuthorizeSSHSign/ok === RUN TestGCP_AuthorizeSSHSign/ok-rsa2048 === RUN TestGCP_AuthorizeSSHSign/ok-type === RUN TestGCP_AuthorizeSSHSign/ok-principals === RUN TestGCP_AuthorizeSSHSign/ok-principal1 === RUN TestGCP_AuthorizeSSHSign/ok-principal2 === RUN TestGCP_AuthorizeSSHSign/ok-options === RUN TestGCP_AuthorizeSSHSign/ok-custom === RUN TestGCP_AuthorizeSSHSign/fail-rsa1024 === RUN TestGCP_AuthorizeSSHSign/fail-type === RUN TestGCP_AuthorizeSSHSign/fail-principal === RUN TestGCP_AuthorizeSSHSign/fail-extra-principal === RUN TestGCP_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestGCP_AuthorizeSSHSign/fail-invalid-token --- PASS: TestGCP_AuthorizeSSHSign (6.62s) --- PASS: TestGCP_AuthorizeSSHSign/ok (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-rsa2048 (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-type (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-principals (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-principal1 (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-principal2 (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-options (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/ok-custom (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/fail-rsa1024 (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/fail-type (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/fail-principal (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/fail-extra-principal (0.01s) --- PASS: TestGCP_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) --- PASS: TestGCP_AuthorizeSSHSign/fail-invalid-token (0.00s) === RUN TestGCP_AuthorizeRenew === RUN TestGCP_AuthorizeRenew/ok === RUN TestGCP_AuthorizeRenew/fail/renewal-disabled --- PASS: TestGCP_AuthorizeRenew (0.00s) --- PASS: TestGCP_AuthorizeRenew/ok (0.00s) --- PASS: TestGCP_AuthorizeRenew/fail/renewal-disabled (0.00s) === RUN TestJWK_Getters --- PASS: TestJWK_Getters (2.57s) === RUN TestJWK_Init === RUN TestJWK_Init/fail-empty-name === RUN TestJWK_Init/fail-empty-type === RUN TestJWK_Init/fail-empty-key === RUN TestJWK_Init/fail-bad-claims === RUN TestJWK_Init/ok === RUN TestJWK_Init/fail-empty --- PASS: TestJWK_Init (0.00s) --- PASS: TestJWK_Init/fail-empty-name (0.00s) --- PASS: TestJWK_Init/fail-empty-type (0.00s) --- PASS: TestJWK_Init/fail-empty-key (0.00s) --- PASS: TestJWK_Init/fail-bad-claims (0.00s) --- PASS: TestJWK_Init/ok (0.00s) --- PASS: TestJWK_Init/fail-empty (0.00s) === RUN TestJWK_authorizeToken === RUN TestJWK_authorizeToken/fail-token === RUN TestJWK_authorizeToken/fail-key === RUN TestJWK_authorizeToken/fail-claims === RUN TestJWK_authorizeToken/fail-signature === RUN TestJWK_authorizeToken/fail-issuer === RUN TestJWK_authorizeToken/fail-expired === RUN TestJWK_authorizeToken/fail-not-before === RUN TestJWK_authorizeToken/fail-audience === RUN TestJWK_authorizeToken/fail-subject === RUN TestJWK_authorizeToken/ok === RUN TestJWK_authorizeToken/ok-no-encrypted-key === RUN TestJWK_authorizeToken/ok-no-sans --- PASS: TestJWK_authorizeToken (10.81s) --- PASS: TestJWK_authorizeToken/fail-token (0.00s) --- PASS: TestJWK_authorizeToken/fail-key (0.00s) --- PASS: TestJWK_authorizeToken/fail-claims (0.00s) --- PASS: TestJWK_authorizeToken/fail-signature (0.00s) --- PASS: TestJWK_authorizeToken/fail-issuer (0.01s) --- PASS: TestJWK_authorizeToken/fail-expired (0.00s) --- PASS: TestJWK_authorizeToken/fail-not-before (0.00s) --- PASS: TestJWK_authorizeToken/fail-audience (0.00s) --- PASS: TestJWK_authorizeToken/fail-subject (0.00s) --- PASS: TestJWK_authorizeToken/ok (0.00s) --- PASS: TestJWK_authorizeToken/ok-no-encrypted-key (0.00s) --- PASS: TestJWK_authorizeToken/ok-no-sans (0.00s) === RUN TestJWK_AuthorizeRevoke === RUN TestJWK_AuthorizeRevoke/fail-signature === RUN TestJWK_AuthorizeRevoke/ok --- PASS: TestJWK_AuthorizeRevoke (5.30s) --- PASS: TestJWK_AuthorizeRevoke/fail-signature (0.00s) --- PASS: TestJWK_AuthorizeRevoke/ok (0.00s) === RUN TestJWK_AuthorizeSign === RUN TestJWK_AuthorizeSign/fail-signature === RUN TestJWK_AuthorizeSign/ok-sans === RUN TestJWK_AuthorizeSign/ok-no-sans --- PASS: TestJWK_AuthorizeSign (5.59s) --- PASS: TestJWK_AuthorizeSign/fail-signature (0.00s) --- PASS: TestJWK_AuthorizeSign/ok-sans (0.00s) --- PASS: TestJWK_AuthorizeSign/ok-no-sans (0.01s) === RUN TestJWK_AuthorizeRenew === RUN TestJWK_AuthorizeRenew/ok === RUN TestJWK_AuthorizeRenew/fail/renew-disabled --- PASS: TestJWK_AuthorizeRenew (5.84s) --- PASS: TestJWK_AuthorizeRenew/ok (0.00s) --- PASS: TestJWK_AuthorizeRenew/fail/renew-disabled (0.00s) === RUN TestJWK_AuthorizeSSHSign === RUN TestJWK_AuthorizeSSHSign/user === RUN TestJWK_AuthorizeSSHSign/user-rsa2048 === RUN TestJWK_AuthorizeSSHSign/user-type === RUN TestJWK_AuthorizeSSHSign/user-principals === RUN TestJWK_AuthorizeSSHSign/user-options === RUN TestJWK_AuthorizeSSHSign/host === RUN TestJWK_AuthorizeSSHSign/host-type === RUN TestJWK_AuthorizeSSHSign/host-principals === RUN TestJWK_AuthorizeSSHSign/host-options === RUN TestJWK_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestJWK_AuthorizeSSHSign/fail-signature === RUN TestJWK_AuthorizeSSHSign/rail-rsa1024 --- PASS: TestJWK_AuthorizeSSHSign (15.76s) --- PASS: TestJWK_AuthorizeSSHSign/user (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/user-rsa2048 (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/user-type (0.02s) --- PASS: TestJWK_AuthorizeSSHSign/user-principals (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/user-options (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/host (0.02s) --- PASS: TestJWK_AuthorizeSSHSign/host-type (0.02s) --- PASS: TestJWK_AuthorizeSSHSign/host-principals (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/host-options (0.01s) --- PASS: TestJWK_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/fail-signature (0.00s) --- PASS: TestJWK_AuthorizeSSHSign/rail-rsa1024 (0.01s) === RUN TestJWK_AuthorizeSign_SSHOptions === RUN TestJWK_AuthorizeSign_SSHOptions/ok-user === RUN TestJWK_AuthorizeSign_SSHOptions/ok-host === RUN TestJWK_AuthorizeSign_SSHOptions/ok-user-validAfter === RUN TestJWK_AuthorizeSign_SSHOptions/ok-user-validBefore === RUN TestJWK_AuthorizeSign_SSHOptions/ok-user-validAfter-validBefore === RUN TestJWK_AuthorizeSign_SSHOptions/ok-user-match === RUN TestJWK_AuthorizeSign_SSHOptions/fail-certType === RUN TestJWK_AuthorizeSign_SSHOptions/fail-principals === RUN TestJWK_AuthorizeSign_SSHOptions/fail-validAfter === RUN TestJWK_AuthorizeSign_SSHOptions/fail-validBefore === RUN TestJWK_AuthorizeSign_SSHOptions/fail-subject === RUN TestJWK_AuthorizeSign_SSHOptions/fail-issuer === RUN TestJWK_AuthorizeSign_SSHOptions/fail-audience === RUN TestJWK_AuthorizeSign_SSHOptions/fail-expired === RUN TestJWK_AuthorizeSign_SSHOptions/fail-notBefore --- PASS: TestJWK_AuthorizeSign_SSHOptions (4.83s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user (0.03s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-host (0.02s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validAfter (0.02s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validBefore (0.02s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-validAfter-validBefore (0.03s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/ok-user-match (0.02s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-certType (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-principals (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-validAfter (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-validBefore (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-subject (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-issuer (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-audience (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-expired (0.01s) --- PASS: TestJWK_AuthorizeSign_SSHOptions/fail-notBefore (0.01s) === RUN TestJWK_AuthorizeSSHRevoke === RUN TestJWK_AuthorizeSSHRevoke/fail/invalid-token === RUN TestJWK_AuthorizeSSHRevoke/ok --- PASS: TestJWK_AuthorizeSSHRevoke (7.85s) --- PASS: TestJWK_AuthorizeSSHRevoke/fail/invalid-token (2.24s) --- PASS: TestJWK_AuthorizeSSHRevoke/ok (5.61s) === RUN TestK8sSA_Getters --- PASS: TestK8sSA_Getters (0.00s) === RUN TestK8sSA_authorizeToken === RUN TestK8sSA_authorizeToken/fail/invalid-issuer === RUN TestK8sSA_authorizeToken/ok === RUN TestK8sSA_authorizeToken/fail/bad-token === RUN TestK8sSA_authorizeToken/fail/not-implemented === RUN TestK8sSA_authorizeToken/fail/error-validating-token --- PASS: TestK8sSA_authorizeToken (0.09s) --- PASS: TestK8sSA_authorizeToken/fail/invalid-issuer (0.03s) --- PASS: TestK8sSA_authorizeToken/ok (0.03s) --- PASS: TestK8sSA_authorizeToken/fail/bad-token (0.00s) --- PASS: TestK8sSA_authorizeToken/fail/not-implemented (0.00s) --- PASS: TestK8sSA_authorizeToken/fail/error-validating-token (0.01s) === RUN TestK8sSA_AuthorizeRevoke === RUN TestK8sSA_AuthorizeRevoke/fail/invalid-token === RUN TestK8sSA_AuthorizeRevoke/ok --- PASS: TestK8sSA_AuthorizeRevoke (0.02s) --- PASS: TestK8sSA_AuthorizeRevoke/fail/invalid-token (0.00s) --- PASS: TestK8sSA_AuthorizeRevoke/ok (0.02s) === RUN TestK8sSA_AuthorizeRenew === RUN TestK8sSA_AuthorizeRenew/fail/renew-disabled === RUN TestK8sSA_AuthorizeRenew/ok --- PASS: TestK8sSA_AuthorizeRenew (0.00s) --- PASS: TestK8sSA_AuthorizeRenew/fail/renew-disabled (0.00s) --- PASS: TestK8sSA_AuthorizeRenew/ok (0.00s) === RUN TestK8sSA_AuthorizeSign === RUN TestK8sSA_AuthorizeSign/fail/invalid-token === RUN TestK8sSA_AuthorizeSign/ok --- PASS: TestK8sSA_AuthorizeSign (0.02s) --- PASS: TestK8sSA_AuthorizeSign/fail/invalid-token (0.00s) --- PASS: TestK8sSA_AuthorizeSign/ok (0.02s) === RUN TestK8sSA_AuthorizeSSHSign === RUN TestK8sSA_AuthorizeSSHSign/ok === RUN TestK8sSA_AuthorizeSSHSign/fail/sshCA-disabled === RUN TestK8sSA_AuthorizeSSHSign/fail/invalid-token --- PASS: TestK8sSA_AuthorizeSSHSign (0.02s) --- PASS: TestK8sSA_AuthorizeSSHSign/ok (0.02s) --- PASS: TestK8sSA_AuthorizeSSHSign/fail/sshCA-disabled (0.00s) --- PASS: TestK8sSA_AuthorizeSSHSign/fail/invalid-token (0.00s) === RUN Test_newKeyStore === RUN Test_newKeyStore/ok === RUN Test_newKeyStore/fail --- PASS: Test_newKeyStore (0.01s) --- PASS: Test_newKeyStore/ok (0.00s) --- PASS: Test_newKeyStore/fail (0.00s) === RUN Test_keyStore --- PASS: Test_keyStore (5.01s) === RUN Test_keyStore_noCache --- PASS: Test_keyStore_noCache (0.06s) === RUN Test_keyStore_Get === RUN Test_keyStore_Get/ok1 === RUN Test_keyStore_Get/ok2 === RUN Test_keyStore_Get/fail --- PASS: Test_keyStore_Get (0.01s) --- PASS: Test_keyStore_Get/ok1 (0.00s) --- PASS: Test_keyStore_Get/ok2 (0.00s) --- PASS: Test_keyStore_Get/fail (0.00s) === RUN Test_abs === RUN Test_abs/ok === RUN Test_abs/ok#01 === RUN Test_abs/ok#02 === RUN Test_abs/ok_maxInt64 === RUN Test_abs/ok_minInt64_+_1 === RUN Test_abs/overflow_on_minInt64 === RUN Test_abs/overflow_on_minInt64#01 --- PASS: Test_abs (0.00s) --- PASS: Test_abs/ok (0.00s) --- PASS: Test_abs/ok#01 (0.00s) --- PASS: Test_abs/ok#02 (0.00s) --- PASS: Test_abs/ok_maxInt64 (0.00s) --- PASS: Test_abs/ok_minInt64_+_1 (0.00s) --- PASS: Test_abs/overflow_on_minInt64 (0.00s) --- PASS: Test_abs/overflow_on_minInt64#01 (0.00s) === RUN TestNebula_Init === RUN TestNebula_Init/ok === RUN TestNebula_Init/ok_with_claims === RUN TestNebula_Init/ok_with_options === RUN TestNebula_Init/fail_type === RUN TestNebula_Init/fail_name === RUN TestNebula_Init/fail_root === RUN TestNebula_Init/fail_bad_root === RUN TestNebula_Init/fail_bad_claims --- PASS: TestNebula_Init (0.08s) --- PASS: TestNebula_Init/ok (0.02s) --- PASS: TestNebula_Init/ok_with_claims (0.00s) --- PASS: TestNebula_Init/ok_with_options (0.00s) --- PASS: TestNebula_Init/fail_type (0.00s) --- PASS: TestNebula_Init/fail_name (0.00s) --- PASS: TestNebula_Init/fail_root (0.00s) --- PASS: TestNebula_Init/fail_bad_root (0.00s) --- PASS: TestNebula_Init/fail_bad_claims (0.00s) === RUN TestNebula_GetID === RUN TestNebula_GetID/ok_with_id === RUN TestNebula_GetID/ok_with_name --- PASS: TestNebula_GetID (0.00s) --- PASS: TestNebula_GetID/ok_with_id (0.00s) --- PASS: TestNebula_GetID/ok_with_name (0.00s) === RUN TestNebula_GetIDForToken === RUN TestNebula_GetIDForToken/ok --- PASS: TestNebula_GetIDForToken (0.00s) --- PASS: TestNebula_GetIDForToken/ok (0.00s) === RUN TestNebula_GetTokenID === RUN TestNebula_GetTokenID/ok === RUN TestNebula_GetTokenID/fail_parse === RUN TestNebula_GetTokenID/fail_claims --- PASS: TestNebula_GetTokenID (0.05s) --- PASS: TestNebula_GetTokenID/ok (0.00s) --- PASS: TestNebula_GetTokenID/fail_parse (0.00s) --- PASS: TestNebula_GetTokenID/fail_claims (0.00s) === RUN TestNebula_GetName === RUN TestNebula_GetName/ok --- PASS: TestNebula_GetName (0.00s) --- PASS: TestNebula_GetName/ok (0.00s) === RUN TestNebula_GetType === RUN TestNebula_GetType/ok --- PASS: TestNebula_GetType (0.00s) --- PASS: TestNebula_GetType/ok (0.00s) === RUN TestNebula_GetEncryptedKey === RUN TestNebula_GetEncryptedKey/ok --- PASS: TestNebula_GetEncryptedKey (0.00s) --- PASS: TestNebula_GetEncryptedKey/ok (0.00s) === RUN TestNebula_AuthorizeSign === RUN TestNebula_AuthorizeSign/ok === RUN TestNebula_AuthorizeSign/ok_no_sans === RUN TestNebula_AuthorizeSign/fail_token === RUN TestNebula_AuthorizeSign/fail_template --- PASS: TestNebula_AuthorizeSign (0.06s) --- PASS: TestNebula_AuthorizeSign/ok (0.01s) --- PASS: TestNebula_AuthorizeSign/ok_no_sans (0.01s) --- PASS: TestNebula_AuthorizeSign/fail_token (0.00s) --- PASS: TestNebula_AuthorizeSign/fail_template (0.00s) === RUN TestNebula_AuthorizeSSHSign === RUN TestNebula_AuthorizeSSHSign/ok === RUN TestNebula_AuthorizeSSHSign/ok_no_options === RUN TestNebula_AuthorizeSSHSign/ok_with_validity === RUN TestNebula_AuthorizeSSHSign/fail_token === RUN TestNebula_AuthorizeSSHSign/fail_user === RUN TestNebula_AuthorizeSSHSign/fail_principals === RUN TestNebula_AuthorizeSSHSign/fail_disabled === RUN TestNebula_AuthorizeSSHSign/fail_template --- PASS: TestNebula_AuthorizeSSHSign (0.11s) --- PASS: TestNebula_AuthorizeSSHSign/ok (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/ok_no_options (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/ok_with_validity (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/fail_token (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/fail_user (0.02s) --- PASS: TestNebula_AuthorizeSSHSign/fail_principals (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/fail_disabled (0.00s) --- PASS: TestNebula_AuthorizeSSHSign/fail_template (0.00s) === RUN TestNebula_AuthorizeRenew === RUN TestNebula_AuthorizeRenew/ok === RUN TestNebula_AuthorizeRenew/fail_disabled --- PASS: TestNebula_AuthorizeRenew (0.02s) --- PASS: TestNebula_AuthorizeRenew/ok (0.00s) --- PASS: TestNebula_AuthorizeRenew/fail_disabled (0.00s) === RUN TestNebula_AuthorizeRevoke === RUN TestNebula_AuthorizeRevoke/ok === RUN TestNebula_AuthorizeRevoke/fail_token --- PASS: TestNebula_AuthorizeRevoke (0.06s) --- PASS: TestNebula_AuthorizeRevoke/ok (0.01s) --- PASS: TestNebula_AuthorizeRevoke/fail_token (0.00s) === RUN TestNebula_AuthorizeSSHRevoke === RUN TestNebula_AuthorizeSSHRevoke/ok === RUN TestNebula_AuthorizeSSHRevoke/fail_token === RUN TestNebula_AuthorizeSSHRevoke/fail_disabled --- PASS: TestNebula_AuthorizeSSHRevoke (0.06s) --- PASS: TestNebula_AuthorizeSSHRevoke/ok (0.00s) --- PASS: TestNebula_AuthorizeSSHRevoke/fail_token (0.00s) --- PASS: TestNebula_AuthorizeSSHRevoke/fail_disabled (0.00s) === RUN TestNebula_AuthorizeSSHRenew === RUN TestNebula_AuthorizeSSHRenew/fail --- PASS: TestNebula_AuthorizeSSHRenew (0.01s) --- PASS: TestNebula_AuthorizeSSHRenew/fail (0.00s) === RUN TestNebula_AuthorizeSSHRekey === RUN TestNebula_AuthorizeSSHRekey/fail --- PASS: TestNebula_AuthorizeSSHRekey (0.01s) --- PASS: TestNebula_AuthorizeSSHRekey/fail (0.00s) === RUN TestNebula_authorizeToken === RUN TestNebula_authorizeToken/ok_x509 === RUN TestNebula_authorizeToken/ok_x509_no_sans === RUN TestNebula_authorizeToken/ok_ssh === RUN TestNebula_authorizeToken/ok_ssh_no_principals === RUN TestNebula_authorizeToken/fail_parse === RUN TestNebula_authorizeToken/fail_header === RUN TestNebula_authorizeToken/fail_verify === RUN TestNebula_authorizeToken/fail_claims_nbf === RUN TestNebula_authorizeToken/fail_claims_iss === RUN TestNebula_authorizeToken/fail_claims_aud === RUN TestNebula_authorizeToken/fail_claims_sub --- PASS: TestNebula_authorizeToken (0.07s) --- PASS: TestNebula_authorizeToken/ok_x509 (0.00s) --- PASS: TestNebula_authorizeToken/ok_x509_no_sans (0.00s) --- PASS: TestNebula_authorizeToken/ok_ssh (0.00s) --- PASS: TestNebula_authorizeToken/ok_ssh_no_principals (0.00s) --- PASS: TestNebula_authorizeToken/fail_parse (0.00s) --- PASS: TestNebula_authorizeToken/fail_header (0.00s) --- PASS: TestNebula_authorizeToken/fail_verify (0.00s) --- PASS: TestNebula_authorizeToken/fail_claims_nbf (0.00s) --- PASS: TestNebula_authorizeToken/fail_claims_iss (0.00s) --- PASS: TestNebula_authorizeToken/fail_claims_aud (0.00s) --- PASS: TestNebula_authorizeToken/fail_claims_sub (0.00s) === RUN Test_nebulaSANsValidator_Valid === RUN Test_nebulaSANsValidator_Valid/ok === RUN Test_nebulaSANsValidator_Valid/ok_name_only === RUN Test_nebulaSANsValidator_Valid/ok_ip_only === RUN Test_nebulaSANsValidator_Valid/ok_email_name === RUN Test_nebulaSANsValidator_Valid/ok_uri_name === RUN Test_nebulaSANsValidator_Valid/ok_ip_name === RUN Test_nebulaSANsValidator_Valid/ok_multiple_ips === RUN Test_nebulaSANsValidator_Valid/fail_dns === RUN Test_nebulaSANsValidator_Valid/fail_email === RUN Test_nebulaSANsValidator_Valid/fail_uri === RUN Test_nebulaSANsValidator_Valid/fail_ip === RUN Test_nebulaSANsValidator_Valid/fail_nebula_ip --- PASS: Test_nebulaSANsValidator_Valid (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok_name_only (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok_ip_only (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok_email_name (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok_uri_name (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok_ip_name (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/ok_multiple_ips (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/fail_dns (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/fail_email (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/fail_uri (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/fail_ip (0.00s) --- PASS: Test_nebulaSANsValidator_Valid/fail_nebula_ip (0.00s) === RUN Test_nebulaPrincipalsValidator_Valid === RUN Test_nebulaPrincipalsValidator_Valid/ok === RUN Test_nebulaPrincipalsValidator_Valid/ok_name === RUN Test_nebulaPrincipalsValidator_Valid/ok_ip === RUN Test_nebulaPrincipalsValidator_Valid/fail_name === RUN Test_nebulaPrincipalsValidator_Valid/fail_ip --- PASS: Test_nebulaPrincipalsValidator_Valid (0.00s) --- PASS: Test_nebulaPrincipalsValidator_Valid/ok (0.00s) --- PASS: Test_nebulaPrincipalsValidator_Valid/ok_name (0.00s) --- PASS: Test_nebulaPrincipalsValidator_Valid/ok_ip (0.00s) --- PASS: Test_nebulaPrincipalsValidator_Valid/fail_name (0.00s) --- PASS: Test_nebulaPrincipalsValidator_Valid/fail_ip (0.00s) === RUN Test_noop --- PASS: Test_noop (0.00s) === RUN Test_openIDConfiguration_Validate === RUN Test_openIDConfiguration_Validate/ok === RUN Test_openIDConfiguration_Validate/no-issuer === RUN Test_openIDConfiguration_Validate/no-jwks-uri === RUN Test_openIDConfiguration_Validate/empty --- PASS: Test_openIDConfiguration_Validate (0.00s) --- PASS: Test_openIDConfiguration_Validate/ok (0.00s) --- PASS: Test_openIDConfiguration_Validate/no-issuer (0.00s) --- PASS: Test_openIDConfiguration_Validate/no-jwks-uri (0.00s) --- PASS: Test_openIDConfiguration_Validate/empty (0.00s) === RUN TestOIDC_Getters --- PASS: TestOIDC_Getters (0.00s) === RUN TestOIDC_Init === RUN TestOIDC_Init/ok === RUN TestOIDC_Init/ok-admins === RUN TestOIDC_Init/ok-domains === RUN TestOIDC_Init/ok-listen-port === RUN TestOIDC_Init/ok-listen-host-port === RUN TestOIDC_Init/ok-no-secret === RUN TestOIDC_Init/no-name === RUN TestOIDC_Init/no-type === RUN TestOIDC_Init/no-client-id === RUN TestOIDC_Init/no-configuration === RUN TestOIDC_Init/bad-configuration === RUN TestOIDC_Init/bad-claims === RUN TestOIDC_Init/bad-parse-url === RUN TestOIDC_Init/bad-get-url === RUN TestOIDC_Init/bad-listen-address --- PASS: TestOIDC_Init (0.04s) --- PASS: TestOIDC_Init/ok (0.01s) --- PASS: TestOIDC_Init/ok-admins (0.00s) --- PASS: TestOIDC_Init/ok-domains (0.01s) --- PASS: TestOIDC_Init/ok-listen-port (0.00s) --- PASS: TestOIDC_Init/ok-listen-host-port (0.01s) --- PASS: TestOIDC_Init/ok-no-secret (0.00s) --- PASS: TestOIDC_Init/no-name (0.00s) --- PASS: TestOIDC_Init/no-type (0.00s) --- PASS: TestOIDC_Init/no-client-id (0.00s) --- PASS: TestOIDC_Init/no-configuration (0.00s) --- PASS: TestOIDC_Init/bad-configuration (0.00s) --- PASS: TestOIDC_Init/bad-claims (0.00s) --- PASS: TestOIDC_Init/bad-parse-url (0.00s) --- PASS: TestOIDC_Init/bad-get-url (0.00s) --- PASS: TestOIDC_Init/bad-listen-address (0.00s) === RUN TestOIDC_authorizeToken === RUN TestOIDC_authorizeToken/ok1 === RUN TestOIDC_authorizeToken/ok_tenantid === RUN TestOIDC_authorizeToken/ok_admin === RUN TestOIDC_authorizeToken/ok_domain === RUN TestOIDC_authorizeToken/ok_no_email === RUN TestOIDC_authorizeToken/fail-domain === RUN TestOIDC_authorizeToken/fail-key === RUN TestOIDC_authorizeToken/fail-token === RUN TestOIDC_authorizeToken/fail-claims === RUN TestOIDC_authorizeToken/fail-issuer === RUN TestOIDC_authorizeToken/fail-audience === RUN TestOIDC_authorizeToken/fail-signature === RUN TestOIDC_authorizeToken/fail-expired === RUN TestOIDC_authorizeToken/fail-not-before --- PASS: TestOIDC_authorizeToken (0.20s) --- PASS: TestOIDC_authorizeToken/ok1 (0.01s) --- PASS: TestOIDC_authorizeToken/ok_tenantid (0.01s) --- PASS: TestOIDC_authorizeToken/ok_admin (0.01s) --- PASS: TestOIDC_authorizeToken/ok_domain (0.01s) --- PASS: TestOIDC_authorizeToken/ok_no_email (0.01s) --- PASS: TestOIDC_authorizeToken/fail-domain (0.00s) --- PASS: TestOIDC_authorizeToken/fail-key (0.00s) --- PASS: TestOIDC_authorizeToken/fail-token (0.00s) --- PASS: TestOIDC_authorizeToken/fail-claims (0.00s) --- PASS: TestOIDC_authorizeToken/fail-issuer (0.01s) --- PASS: TestOIDC_authorizeToken/fail-audience (0.01s) --- PASS: TestOIDC_authorizeToken/fail-signature (0.00s) --- PASS: TestOIDC_authorizeToken/fail-expired (0.01s) --- PASS: TestOIDC_authorizeToken/fail-not-before (0.01s) === RUN TestOIDC_AuthorizeSign === RUN TestOIDC_AuthorizeSign/ok1 === RUN TestOIDC_AuthorizeSign/admin === RUN TestOIDC_AuthorizeSign/no-email === RUN TestOIDC_AuthorizeSign/bad-token --- PASS: TestOIDC_AuthorizeSign (0.06s) --- PASS: TestOIDC_AuthorizeSign/ok1 (0.02s) --- PASS: TestOIDC_AuthorizeSign/admin (0.01s) --- PASS: TestOIDC_AuthorizeSign/no-email (0.01s) --- PASS: TestOIDC_AuthorizeSign/bad-token (0.00s) === RUN TestOIDC_AuthorizeRevoke === RUN TestOIDC_AuthorizeRevoke/ok1 === RUN TestOIDC_AuthorizeRevoke/admin === RUN TestOIDC_AuthorizeRevoke/fail-email --- PASS: TestOIDC_AuthorizeRevoke (0.08s) --- PASS: TestOIDC_AuthorizeRevoke/ok1 (0.01s) --- PASS: TestOIDC_AuthorizeRevoke/admin (0.01s) --- PASS: TestOIDC_AuthorizeRevoke/fail-email (0.02s) === RUN TestOIDC_AuthorizeRenew === RUN TestOIDC_AuthorizeRenew/ok === RUN TestOIDC_AuthorizeRenew/fail/renew-disabled --- PASS: TestOIDC_AuthorizeRenew (0.00s) --- PASS: TestOIDC_AuthorizeRenew/ok (0.00s) --- PASS: TestOIDC_AuthorizeRenew/fail/renew-disabled (0.00s) === RUN TestOIDC_AuthorizeSSHSign === RUN TestOIDC_AuthorizeSSHSign/ok === RUN TestOIDC_AuthorizeSSHSign/ok-rsa2048 === RUN TestOIDC_AuthorizeSSHSign/ok-user === RUN TestOIDC_AuthorizeSSHSign/ok-empty-email === RUN TestOIDC_AuthorizeSSHSign/ok-principals === RUN TestOIDC_AuthorizeSSHSign/ok-principals-ignore-passed === RUN TestOIDC_AuthorizeSSHSign/ok-principals-getIdentity === RUN TestOIDC_AuthorizeSSHSign/ok-emptyPrincipals-getIdentity === RUN TestOIDC_AuthorizeSSHSign/ok-options === RUN TestOIDC_AuthorizeSSHSign/ok-admin-user === RUN TestOIDC_AuthorizeSSHSign/ok-admin-host === RUN TestOIDC_AuthorizeSSHSign/ok-admin-options === RUN TestOIDC_AuthorizeSSHSign/fail-rsa1024 === RUN TestOIDC_AuthorizeSSHSign/fail-user-host === RUN TestOIDC_AuthorizeSSHSign/fail-getIdentity === RUN TestOIDC_AuthorizeSSHSign/fail-sshCA-disabled === RUN TestOIDC_AuthorizeSSHSign/fail-admin-type === RUN TestOIDC_AuthorizeSSHSign/fail-admin-key-id === RUN TestOIDC_AuthorizeSSHSign/fail-admin-principals --- PASS: TestOIDC_AuthorizeSSHSign (15.10s) --- PASS: TestOIDC_AuthorizeSSHSign/ok (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-rsa2048 (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-user (0.02s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-empty-email (0.02s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-principals (0.02s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-principals-ignore-passed (0.02s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-principals-getIdentity (0.02s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-emptyPrincipals-getIdentity (0.02s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-options (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-user (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-host (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/ok-admin-options (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-rsa1024 (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-user-host (0.01s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-getIdentity (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-sshCA-disabled (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-admin-type (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-admin-key-id (0.00s) --- PASS: TestOIDC_AuthorizeSSHSign/fail-admin-principals (0.00s) === RUN TestOIDC_AuthorizeSSHRevoke === RUN TestOIDC_AuthorizeSSHRevoke/ok === RUN TestOIDC_AuthorizeSSHRevoke/fail/invalid-token === RUN TestOIDC_AuthorizeSSHRevoke/fail/not-admin --- PASS: TestOIDC_AuthorizeSSHRevoke (0.08s) --- PASS: TestOIDC_AuthorizeSSHRevoke/ok (0.00s) --- PASS: TestOIDC_AuthorizeSSHRevoke/fail/invalid-token (0.00s) --- PASS: TestOIDC_AuthorizeSSHRevoke/fail/not-admin (0.01s) === RUN Test_sanitizeEmail === RUN Test_sanitizeEmail/equal === RUN Test_sanitizeEmail/domain-insensitive === RUN Test_sanitizeEmail/local-sensitive === RUN Test_sanitizeEmail/multiple-@ --- PASS: Test_sanitizeEmail (0.00s) --- PASS: Test_sanitizeEmail/equal (0.00s) --- PASS: Test_sanitizeEmail/domain-insensitive (0.00s) --- PASS: Test_sanitizeEmail/local-sensitive (0.00s) --- PASS: Test_sanitizeEmail/multiple-@ (0.00s) === RUN Test_openIDPayload_IsAdmin === RUN Test_openIDPayload_IsAdmin/ok_email === RUN Test_openIDPayload_IsAdmin/ok_email_multiple === RUN Test_openIDPayload_IsAdmin/ok_email_sanitized === RUN Test_openIDPayload_IsAdmin/ok_group === RUN Test_openIDPayload_IsAdmin/ok_group_multiple === RUN Test_openIDPayload_IsAdmin/fail_missing === RUN Test_openIDPayload_IsAdmin/fail_email_letter_case === RUN Test_openIDPayload_IsAdmin/fail_group_letter_case --- PASS: Test_openIDPayload_IsAdmin (0.00s) --- PASS: Test_openIDPayload_IsAdmin/ok_email (0.00s) --- PASS: Test_openIDPayload_IsAdmin/ok_email_multiple (0.00s) --- PASS: Test_openIDPayload_IsAdmin/ok_email_sanitized (0.00s) --- PASS: Test_openIDPayload_IsAdmin/ok_group (0.00s) --- PASS: Test_openIDPayload_IsAdmin/ok_group_multiple (0.00s) --- PASS: Test_openIDPayload_IsAdmin/fail_missing (0.00s) --- PASS: Test_openIDPayload_IsAdmin/fail_email_letter_case (0.00s) --- PASS: Test_openIDPayload_IsAdmin/fail_group_letter_case (0.00s) === RUN TestOptions_GetX509Options === RUN TestOptions_GetX509Options/ok === RUN TestOptions_GetX509Options/nil === RUN TestOptions_GetX509Options/nilOptions --- PASS: TestOptions_GetX509Options (0.00s) --- PASS: TestOptions_GetX509Options/ok (0.00s) --- PASS: TestOptions_GetX509Options/nil (0.00s) --- PASS: TestOptions_GetX509Options/nilOptions (0.00s) === RUN TestOptions_GetSSHOptions === RUN TestOptions_GetSSHOptions/ok === RUN TestOptions_GetSSHOptions/nil === RUN TestOptions_GetSSHOptions/nilOptions --- PASS: TestOptions_GetSSHOptions (0.00s) --- PASS: TestOptions_GetSSHOptions/ok (0.00s) --- PASS: TestOptions_GetSSHOptions/nil (0.00s) --- PASS: TestOptions_GetSSHOptions/nilOptions (0.00s) === RUN TestOptions_GetWebhooks === RUN TestOptions_GetWebhooks/ok === RUN TestOptions_GetWebhooks/nil === RUN TestOptions_GetWebhooks/nilOptions --- PASS: TestOptions_GetWebhooks (0.00s) --- PASS: TestOptions_GetWebhooks/ok (0.00s) --- PASS: TestOptions_GetWebhooks/nil (0.00s) --- PASS: TestOptions_GetWebhooks/nilOptions (0.00s) === RUN TestProvisionerX509Options_HasTemplate === RUN TestProvisionerX509Options_HasTemplate/template === RUN TestProvisionerX509Options_HasTemplate/templateFile === RUN TestProvisionerX509Options_HasTemplate/false === RUN TestProvisionerX509Options_HasTemplate/falseWithTemplateData --- PASS: TestProvisionerX509Options_HasTemplate (0.00s) --- PASS: TestProvisionerX509Options_HasTemplate/template (0.00s) --- PASS: TestProvisionerX509Options_HasTemplate/templateFile (0.00s) --- PASS: TestProvisionerX509Options_HasTemplate/false (0.00s) --- PASS: TestProvisionerX509Options_HasTemplate/falseWithTemplateData (0.00s) === RUN TestTemplateOptions === RUN TestTemplateOptions/ok === RUN TestTemplateOptions/okCustomTemplate === RUN TestTemplateOptions/fail --- PASS: TestTemplateOptions (0.02s) --- PASS: TestTemplateOptions/ok (0.00s) --- PASS: TestTemplateOptions/okCustomTemplate (0.01s) --- PASS: TestTemplateOptions/fail (0.00s) === RUN TestCustomTemplateOptions === RUN TestCustomTemplateOptions/ok === RUN TestCustomTemplateOptions/okIID === RUN TestCustomTemplateOptions/okNoData === RUN TestCustomTemplateOptions/okTemplateData === RUN TestCustomTemplateOptions/okTemplate === RUN TestCustomTemplateOptions/okFile === RUN TestCustomTemplateOptions/okBase64 === RUN TestCustomTemplateOptions/okUserOptions === RUN TestCustomTemplateOptions/okBadUserOptions === RUN TestCustomTemplateOptions/okNullTemplateData === RUN TestCustomTemplateOptions/fail === RUN TestCustomTemplateOptions/failTemplateData --- PASS: TestCustomTemplateOptions (0.05s) --- PASS: TestCustomTemplateOptions/ok (0.01s) --- PASS: TestCustomTemplateOptions/okIID (0.01s) --- PASS: TestCustomTemplateOptions/okNoData (0.00s) --- PASS: TestCustomTemplateOptions/okTemplateData (0.00s) --- PASS: TestCustomTemplateOptions/okTemplate (0.01s) --- PASS: TestCustomTemplateOptions/okFile (0.00s) --- PASS: TestCustomTemplateOptions/okBase64 (0.00s) --- PASS: TestCustomTemplateOptions/okUserOptions (0.00s) --- PASS: TestCustomTemplateOptions/okBadUserOptions (0.00s) --- PASS: TestCustomTemplateOptions/okNullTemplateData (0.00s) --- PASS: TestCustomTemplateOptions/fail (0.00s) --- PASS: TestCustomTemplateOptions/failTemplateData (0.00s) === RUN Test_unsafeParseSigned === RUN Test_unsafeParseSigned/ok === RUN Test_unsafeParseSigned/failToken === RUN Test_unsafeParseSigned/failPayload --- PASS: Test_unsafeParseSigned (0.00s) --- PASS: Test_unsafeParseSigned/ok (0.00s) --- PASS: Test_unsafeParseSigned/failToken (0.00s) --- PASS: Test_unsafeParseSigned/failPayload (0.00s) === RUN TestX509Options_IsWildcardLiteralAllowed === RUN TestX509Options_IsWildcardLiteralAllowed/nil-options === RUN TestX509Options_IsWildcardLiteralAllowed/set-true === RUN TestX509Options_IsWildcardLiteralAllowed/set-false --- PASS: TestX509Options_IsWildcardLiteralAllowed (0.00s) --- PASS: TestX509Options_IsWildcardLiteralAllowed/nil-options (0.00s) --- PASS: TestX509Options_IsWildcardLiteralAllowed/set-true (0.00s) --- PASS: TestX509Options_IsWildcardLiteralAllowed/set-false (0.00s) === RUN TestType_String === RUN TestType_String/JWK === RUN TestType_String/OIDC === RUN TestType_String/AWS === RUN TestType_String/Azure === RUN TestType_String/GCP === RUN TestType_String/noop === RUN TestType_String/notFound --- PASS: TestType_String (0.00s) --- PASS: TestType_String/JWK (0.00s) --- PASS: TestType_String/OIDC (0.00s) --- PASS: TestType_String/AWS (0.00s) --- PASS: TestType_String/Azure (0.00s) --- PASS: TestType_String/GCP (0.00s) --- PASS: TestType_String/noop (0.00s) --- PASS: TestType_String/notFound (0.00s) === RUN TestSanitizeSSHUserPrincipal === RUN TestSanitizeSSHUserPrincipal/simple === RUN TestSanitizeSSHUserPrincipal/camelcase === RUN TestSanitizeSSHUserPrincipal/email === RUN TestSanitizeSSHUserPrincipal/email_with_dots === RUN TestSanitizeSSHUserPrincipal/email_with_dashes === RUN TestSanitizeSSHUserPrincipal/email_with_underscores === RUN TestSanitizeSSHUserPrincipal/email_with_symbols --- PASS: TestSanitizeSSHUserPrincipal (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/simple (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/camelcase (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/email (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/email_with_dots (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/email_with_dashes (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/email_with_underscores (0.00s) --- PASS: TestSanitizeSSHUserPrincipal/email_with_symbols (0.00s) === RUN TestDefaultIdentityFunc === RUN TestDefaultIdentityFunc/ok_empty_username === RUN TestDefaultIdentityFunc/fail/unsupported-provisioner === RUN TestDefaultIdentityFunc/fail/bad-ssh-regex === RUN TestDefaultIdentityFunc/ok_letter_case === RUN TestDefaultIdentityFunc/ok_simple_letter_case === RUN TestDefaultIdentityFunc/ok_symbol === RUN TestDefaultIdentityFunc/ok === RUN TestDefaultIdentityFunc/ok_simple === RUN TestDefaultIdentityFunc/ok_username === RUN TestDefaultIdentityFunc/ok_usernames --- PASS: TestDefaultIdentityFunc (0.00s) --- PASS: TestDefaultIdentityFunc/ok_empty_username (0.00s) --- PASS: TestDefaultIdentityFunc/fail/unsupported-provisioner (0.00s) --- PASS: TestDefaultIdentityFunc/fail/bad-ssh-regex (0.00s) --- PASS: TestDefaultIdentityFunc/ok_letter_case (0.00s) --- PASS: TestDefaultIdentityFunc/ok_simple_letter_case (0.00s) --- PASS: TestDefaultIdentityFunc/ok_symbol (0.00s) --- PASS: TestDefaultIdentityFunc/ok (0.00s) --- PASS: TestDefaultIdentityFunc/ok_simple (0.00s) --- PASS: TestDefaultIdentityFunc/ok_username (0.00s) --- PASS: TestDefaultIdentityFunc/ok_usernames (0.00s) === RUN TestUnimplementedMethods === RUN TestUnimplementedMethods/jwk/sshRekey === RUN TestUnimplementedMethods/jwk/sshRenew === RUN TestUnimplementedMethods/aws/revoke === RUN TestUnimplementedMethods/aws/sshRenew === RUN TestUnimplementedMethods/aws/rekey === RUN TestUnimplementedMethods/aws/sshRevoke === RUN TestUnimplementedMethods/azure/revoke === RUN TestUnimplementedMethods/azure/sshRenew === RUN TestUnimplementedMethods/azure/sshRekey === RUN TestUnimplementedMethods/azure/sshRevoke === RUN TestUnimplementedMethods/gcp/revoke === RUN TestUnimplementedMethods/gcp/sshRenew === RUN TestUnimplementedMethods/gcp/sshRekey === RUN TestUnimplementedMethods/gcp/sshRevoke === RUN TestUnimplementedMethods/oidc/sshRenew === RUN TestUnimplementedMethods/oidc/sshRekey === RUN TestUnimplementedMethods/x5c/sshRenew === RUN TestUnimplementedMethods/x5c/sshRekey === RUN TestUnimplementedMethods/x5c/sshRevoke === RUN TestUnimplementedMethods/acme/sshSign === RUN TestUnimplementedMethods/acme/sshRekey === RUN TestUnimplementedMethods/acme/sshRenew === RUN TestUnimplementedMethods/acme/sshRevoke === RUN TestUnimplementedMethods/sshpop/sign === RUN TestUnimplementedMethods/sshpop/renew === RUN TestUnimplementedMethods/sshpop/revoke === RUN TestUnimplementedMethods/sshpop/sshSign === RUN TestUnimplementedMethods/k8ssa/sshRekey === RUN TestUnimplementedMethods/k8ssa/sshRenew === RUN TestUnimplementedMethods/k8ssa/sshRevoke --- PASS: TestUnimplementedMethods (0.03s) --- PASS: TestUnimplementedMethods/jwk/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/jwk/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/aws/revoke (0.00s) --- PASS: TestUnimplementedMethods/aws/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/aws/rekey (0.00s) --- PASS: TestUnimplementedMethods/aws/sshRevoke (0.00s) --- PASS: TestUnimplementedMethods/azure/revoke (0.00s) --- PASS: TestUnimplementedMethods/azure/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/azure/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/azure/sshRevoke (0.00s) --- PASS: TestUnimplementedMethods/gcp/revoke (0.00s) --- PASS: TestUnimplementedMethods/gcp/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/gcp/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/gcp/sshRevoke (0.00s) --- PASS: TestUnimplementedMethods/oidc/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/oidc/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/x5c/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/x5c/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/x5c/sshRevoke (0.00s) --- PASS: TestUnimplementedMethods/acme/sshSign (0.00s) --- PASS: TestUnimplementedMethods/acme/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/acme/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/acme/sshRevoke (0.00s) --- PASS: TestUnimplementedMethods/sshpop/sign (0.00s) --- PASS: TestUnimplementedMethods/sshpop/renew (0.00s) --- PASS: TestUnimplementedMethods/sshpop/revoke (0.00s) --- PASS: TestUnimplementedMethods/sshpop/sshSign (0.00s) --- PASS: TestUnimplementedMethods/k8ssa/sshRekey (0.00s) --- PASS: TestUnimplementedMethods/k8ssa/sshRenew (0.00s) --- PASS: TestUnimplementedMethods/k8ssa/sshRevoke (0.03s) === RUN Test_emailOnlyIdentity_Valid === RUN Test_emailOnlyIdentity_Valid/ok === RUN Test_emailOnlyIdentity_Valid/DNSNames === RUN Test_emailOnlyIdentity_Valid/IPAddresses === RUN Test_emailOnlyIdentity_Valid/URIs === RUN Test_emailOnlyIdentity_Valid/no-emails === RUN Test_emailOnlyIdentity_Valid/empty-email === RUN Test_emailOnlyIdentity_Valid/multiple-emails --- PASS: Test_emailOnlyIdentity_Valid (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/ok (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/DNSNames (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/IPAddresses (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/URIs (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/no-emails (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/empty-email (0.00s) --- PASS: Test_emailOnlyIdentity_Valid/multiple-emails (0.00s) === RUN Test_defaultPublicKeyValidator_Valid === RUN Test_defaultPublicKeyValidator_Valid/fail/unrecognized-key-type === RUN Test_defaultPublicKeyValidator_Valid/fail/rsa/too-short === RUN Test_defaultPublicKeyValidator_Valid/ok/rsa === RUN Test_defaultPublicKeyValidator_Valid/ok/ecdsa === RUN Test_defaultPublicKeyValidator_Valid/ok/ed25519 --- PASS: Test_defaultPublicKeyValidator_Valid (0.02s) --- PASS: Test_defaultPublicKeyValidator_Valid/fail/unrecognized-key-type (0.00s) --- PASS: Test_defaultPublicKeyValidator_Valid/fail/rsa/too-short (0.00s) --- PASS: Test_defaultPublicKeyValidator_Valid/ok/rsa (0.00s) --- PASS: Test_defaultPublicKeyValidator_Valid/ok/ecdsa (0.00s) --- PASS: Test_defaultPublicKeyValidator_Valid/ok/ed25519 (0.00s) === RUN Test_commonNameValidator_Valid === RUN Test_commonNameValidator_Valid/ok === RUN Test_commonNameValidator_Valid/empty === RUN Test_commonNameValidator_Valid/wrong --- PASS: Test_commonNameValidator_Valid (0.00s) --- PASS: Test_commonNameValidator_Valid/ok (0.00s) --- PASS: Test_commonNameValidator_Valid/empty (0.00s) --- PASS: Test_commonNameValidator_Valid/wrong (0.00s) === RUN Test_commonNameSliceValidator_Valid === RUN Test_commonNameSliceValidator_Valid/ok === RUN Test_commonNameSliceValidator_Valid/ok#01 === RUN Test_commonNameSliceValidator_Valid/empty === RUN Test_commonNameSliceValidator_Valid/wrong --- PASS: Test_commonNameSliceValidator_Valid (0.00s) --- PASS: Test_commonNameSliceValidator_Valid/ok (0.00s) --- PASS: Test_commonNameSliceValidator_Valid/ok#01 (0.00s) --- PASS: Test_commonNameSliceValidator_Valid/empty (0.00s) --- PASS: Test_commonNameSliceValidator_Valid/wrong (0.00s) === RUN Test_emailAddressesValidator_Valid === RUN Test_emailAddressesValidator_Valid/ok0 === RUN Test_emailAddressesValidator_Valid/ok1 === RUN Test_emailAddressesValidator_Valid/ok2 === RUN Test_emailAddressesValidator_Valid/ok3 === RUN Test_emailAddressesValidator_Valid/ok3#01 === RUN Test_emailAddressesValidator_Valid/fail1 === RUN Test_emailAddressesValidator_Valid/fail2 === RUN Test_emailAddressesValidator_Valid/fail3 --- PASS: Test_emailAddressesValidator_Valid (0.00s) --- PASS: Test_emailAddressesValidator_Valid/ok0 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/ok1 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/ok2 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/ok3 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/ok3#01 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/fail1 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/fail2 (0.00s) --- PASS: Test_emailAddressesValidator_Valid/fail3 (0.00s) === RUN Test_dnsNamesValidator_Valid === RUN Test_dnsNamesValidator_Valid/ok0 === RUN Test_dnsNamesValidator_Valid/ok1 === RUN Test_dnsNamesValidator_Valid/ok2 === RUN Test_dnsNamesValidator_Valid/ok3 === RUN Test_dnsNamesValidator_Valid/ok4 === RUN Test_dnsNamesValidator_Valid/fail1 === RUN Test_dnsNamesValidator_Valid/fail2 === RUN Test_dnsNamesValidator_Valid/fail3 --- PASS: Test_dnsNamesValidator_Valid (0.00s) --- PASS: Test_dnsNamesValidator_Valid/ok0 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/ok1 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/ok2 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/ok3 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/ok4 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/fail1 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/fail2 (0.00s) --- PASS: Test_dnsNamesValidator_Valid/fail3 (0.00s) === RUN Test_ipAddressesValidator_Valid === RUN Test_ipAddressesValidator_Valid/ok0 === RUN Test_ipAddressesValidator_Valid/ok1 === RUN Test_ipAddressesValidator_Valid/ok2 === RUN Test_ipAddressesValidator_Valid/ok3 === RUN Test_ipAddressesValidator_Valid/ok4 === RUN Test_ipAddressesValidator_Valid/fail1 === RUN Test_ipAddressesValidator_Valid/fail2 === RUN Test_ipAddressesValidator_Valid/fail3 --- PASS: Test_ipAddressesValidator_Valid (0.00s) --- PASS: Test_ipAddressesValidator_Valid/ok0 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/ok1 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/ok2 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/ok3 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/ok4 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/fail1 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/fail2 (0.00s) --- PASS: Test_ipAddressesValidator_Valid/fail3 (0.00s) === RUN Test_urisValidator_Valid === RUN Test_urisValidator_Valid/ok0 === RUN Test_urisValidator_Valid/ok1 === RUN Test_urisValidator_Valid/ok2 === RUN Test_urisValidator_Valid/ok3 === RUN Test_urisValidator_Valid/ok3#01 === RUN Test_urisValidator_Valid/fail1 === RUN Test_urisValidator_Valid/fail2 === RUN Test_urisValidator_Valid/fail3 --- PASS: Test_urisValidator_Valid (0.01s) --- PASS: Test_urisValidator_Valid/ok0 (0.00s) --- PASS: Test_urisValidator_Valid/ok1 (0.00s) --- PASS: Test_urisValidator_Valid/ok2 (0.00s) --- PASS: Test_urisValidator_Valid/ok3 (0.00s) --- PASS: Test_urisValidator_Valid/ok3#01 (0.00s) --- PASS: Test_urisValidator_Valid/fail1 (0.00s) --- PASS: Test_urisValidator_Valid/fail2 (0.00s) --- PASS: Test_urisValidator_Valid/fail3 (0.00s) === RUN Test_defaultSANsValidator_Valid === RUN Test_defaultSANsValidator_Valid/ok === RUN Test_defaultSANsValidator_Valid/fail/dnsNamesValidator === RUN Test_defaultSANsValidator_Valid/fail/emailAddressesValidator === RUN Test_defaultSANsValidator_Valid/fail/ipAddressesValidator === RUN Test_defaultSANsValidator_Valid/fail/urisValidator --- PASS: Test_defaultSANsValidator_Valid (0.01s) --- PASS: Test_defaultSANsValidator_Valid/ok (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/dnsNamesValidator (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/emailAddressesValidator (0.01s) --- PASS: Test_defaultSANsValidator_Valid/fail/ipAddressesValidator (0.00s) --- PASS: Test_defaultSANsValidator_Valid/fail/urisValidator (0.00s) === RUN Test_validityValidator_Valid === RUN Test_validityValidator_Valid/ok/duration-exact-max-with-backdate === RUN Test_validityValidator_Valid/fail/notAfter-past === RUN Test_validityValidator_Valid/fail/notBefore-after-notAfter === RUN Test_validityValidator_Valid/fail/duration-too-short === RUN Test_validityValidator_Valid/ok/duration-exactly-min === RUN Test_validityValidator_Valid/fail/duration-too-great === RUN Test_validityValidator_Valid/ok/duration-exactly-max === RUN Test_validityValidator_Valid/ok/duration-exact-min-with-backdate --- PASS: Test_validityValidator_Valid (2.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exact-max-with-backdate (1.00s) --- PASS: Test_validityValidator_Valid/fail/notAfter-past (0.00s) --- PASS: Test_validityValidator_Valid/fail/notBefore-after-notAfter (0.00s) --- PASS: Test_validityValidator_Valid/fail/duration-too-short (0.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exactly-min (0.00s) --- PASS: Test_validityValidator_Valid/fail/duration-too-great (0.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exactly-max (0.00s) --- PASS: Test_validityValidator_Valid/ok/duration-exact-min-with-backdate (1.00s) === RUN Test_forceCN_Option === RUN Test_forceCN_Option/ok/CN-not-forced === RUN Test_forceCN_Option/ok/CN-forced-and-set === RUN Test_forceCN_Option/ok/CN-forced-and-not-set === RUN Test_forceCN_Option/fail/CN-forced-and-empty-DNSNames --- PASS: Test_forceCN_Option (0.00s) --- PASS: Test_forceCN_Option/ok/CN-not-forced (0.00s) --- PASS: Test_forceCN_Option/ok/CN-forced-and-set (0.00s) --- PASS: Test_forceCN_Option/ok/CN-forced-and-not-set (0.00s) --- PASS: Test_forceCN_Option/fail/CN-forced-and-empty-DNSNames (0.00s) === RUN Test_profileDefaultDuration_Option === RUN Test_profileDefaultDuration_Option/ok/notBefore-and-notAfter-set === RUN Test_profileDefaultDuration_Option/ok/notBefore-notAfter-duration-empty === RUN Test_profileDefaultDuration_Option/ok/notBefore-set === RUN Test_profileDefaultDuration_Option/ok/duration-set === RUN Test_profileDefaultDuration_Option/ok/notAfter-set --- PASS: Test_profileDefaultDuration_Option (0.51s) --- PASS: Test_profileDefaultDuration_Option/ok/notBefore-and-notAfter-set (0.10s) --- PASS: Test_profileDefaultDuration_Option/ok/notBefore-notAfter-duration-empty (0.10s) --- PASS: Test_profileDefaultDuration_Option/ok/notBefore-set (0.10s) --- PASS: Test_profileDefaultDuration_Option/ok/duration-set (0.10s) --- PASS: Test_profileDefaultDuration_Option/ok/notAfter-set (0.10s) === RUN Test_newProvisionerExtension_Option === RUN Test_newProvisionerExtension_Option/ok/one-element === RUN Test_newProvisionerExtension_Option/ok/replace --- PASS: Test_newProvisionerExtension_Option (0.00s) --- PASS: Test_newProvisionerExtension_Option/ok/one-element (0.00s) --- PASS: Test_newProvisionerExtension_Option/ok/replace (0.00s) === RUN Test_profileLimitDuration_Option === RUN Test_profileLimitDuration_Option/ok/valid-notAfter-nil-limit-over-default === RUN Test_profileLimitDuration_Option/ok/valid-notAfter-nil-limit-under-default === RUN Test_profileLimitDuration_Option/ok/over-limit-with-backdate === RUN Test_profileLimitDuration_Option/ok/under-limit-with-backdate === RUN Test_profileLimitDuration_Option/fail/notBefore-before-active-window === RUN Test_profileLimitDuration_Option/fail/requested-notAfter-after-limit === RUN Test_profileLimitDuration_Option/ok/valid-notAfter-requested --- PASS: Test_profileLimitDuration_Option (0.00s) --- PASS: Test_profileLimitDuration_Option/ok/valid-notAfter-nil-limit-over-default (0.00s) --- PASS: Test_profileLimitDuration_Option/ok/valid-notAfter-nil-limit-under-default (0.00s) --- PASS: Test_profileLimitDuration_Option/ok/over-limit-with-backdate (0.00s) --- PASS: Test_profileLimitDuration_Option/ok/under-limit-with-backdate (0.00s) --- PASS: Test_profileLimitDuration_Option/fail/notBefore-before-active-window (0.00s) --- PASS: Test_profileLimitDuration_Option/fail/requested-notAfter-after-limit (0.00s) --- PASS: Test_profileLimitDuration_Option/ok/valid-notAfter-requested (0.00s) === RUN TestSSHOptions_Type === RUN TestSSHOptions_Type/user === RUN TestSSHOptions_Type/host === RUN TestSSHOptions_Type/empty === RUN TestSSHOptions_Type/invalid --- PASS: TestSSHOptions_Type (0.00s) --- PASS: TestSSHOptions_Type/user (0.00s) --- PASS: TestSSHOptions_Type/host (0.00s) --- PASS: TestSSHOptions_Type/empty (0.00s) --- PASS: TestSSHOptions_Type/invalid (0.00s) === RUN TestSSHOptions_Modify === RUN TestSSHOptions_Modify/ok/user-cert === RUN TestSSHOptions_Modify/ok/host-cert === RUN TestSSHOptions_Modify/ok === RUN TestSSHOptions_Modify/fail/unexpected-cert-type === RUN TestSSHOptions_Modify/fail/validAfter-greater-validBefore --- PASS: TestSSHOptions_Modify (0.00s) --- PASS: TestSSHOptions_Modify/ok/user-cert (0.00s) --- PASS: TestSSHOptions_Modify/ok/host-cert (0.00s) --- PASS: TestSSHOptions_Modify/ok (0.00s) --- PASS: TestSSHOptions_Modify/fail/unexpected-cert-type (0.00s) --- PASS: TestSSHOptions_Modify/fail/validAfter-greater-validBefore (0.00s) === RUN TestSSHOptions_Match === RUN TestSSHOptions_Match/fail/validAfter === RUN TestSSHOptions_Match/fail/validBefore === RUN TestSSHOptions_Match/ok/original-empty === RUN TestSSHOptions_Match/ok/cmp-empty === RUN TestSSHOptions_Match/ok/equal === RUN TestSSHOptions_Match/fail/cert-type === RUN TestSSHOptions_Match/fail/pricipals --- PASS: TestSSHOptions_Match (0.00s) --- PASS: TestSSHOptions_Match/fail/validAfter (0.00s) --- PASS: TestSSHOptions_Match/fail/validBefore (0.00s) --- PASS: TestSSHOptions_Match/ok/original-empty (0.00s) --- PASS: TestSSHOptions_Match/ok/cmp-empty (0.00s) --- PASS: TestSSHOptions_Match/ok/equal (0.00s) --- PASS: TestSSHOptions_Match/fail/cert-type (0.00s) --- PASS: TestSSHOptions_Match/fail/pricipals (0.00s) === RUN Test_sshCertPrincipalsModifier_Modify === RUN Test_sshCertPrincipalsModifier_Modify/ok --- PASS: Test_sshCertPrincipalsModifier_Modify (0.00s) --- PASS: Test_sshCertPrincipalsModifier_Modify/ok (0.00s) === RUN Test_sshCertKeyIDModifier_Modify === RUN Test_sshCertKeyIDModifier_Modify/ok --- PASS: Test_sshCertKeyIDModifier_Modify (0.00s) --- PASS: Test_sshCertKeyIDModifier_Modify/ok (0.00s) === RUN Test_sshCertTypeModifier_Modify === RUN Test_sshCertTypeModifier_Modify/ok/user === RUN Test_sshCertTypeModifier_Modify/ok/host === RUN Test_sshCertTypeModifier_Modify/ok/default --- PASS: Test_sshCertTypeModifier_Modify (0.00s) --- PASS: Test_sshCertTypeModifier_Modify/ok/user (0.00s) --- PASS: Test_sshCertTypeModifier_Modify/ok/host (0.00s) --- PASS: Test_sshCertTypeModifier_Modify/ok/default (0.00s) === RUN Test_sshCertValidAfterModifier_Modify === RUN Test_sshCertValidAfterModifier_Modify/ok --- PASS: Test_sshCertValidAfterModifier_Modify (0.00s) --- PASS: Test_sshCertValidAfterModifier_Modify/ok (0.00s) === RUN Test_sshCertDefaultsModifier_Modify === RUN Test_sshCertDefaultsModifier_Modify/ok/changes === RUN Test_sshCertDefaultsModifier_Modify/ok/no-changes --- PASS: Test_sshCertDefaultsModifier_Modify (0.00s) --- PASS: Test_sshCertDefaultsModifier_Modify/ok/changes (0.00s) --- PASS: Test_sshCertDefaultsModifier_Modify/ok/no-changes (0.00s) === RUN Test_sshDefaultExtensionModifier_Modify === RUN Test_sshDefaultExtensionModifier_Modify/fail/unexpected-cert-type === RUN Test_sshDefaultExtensionModifier_Modify/ok/host === RUN Test_sshDefaultExtensionModifier_Modify/ok/user/extensions-exists === RUN Test_sshDefaultExtensionModifier_Modify/ok/user/no-extensions --- PASS: Test_sshDefaultExtensionModifier_Modify (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/fail/unexpected-cert-type (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/host (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/user/extensions-exists (0.00s) --- PASS: Test_sshDefaultExtensionModifier_Modify/ok/user/no-extensions (0.00s) === RUN Test_sshCertDefaultValidator_Valid === RUN Test_sshCertDefaultValidator_Valid/fail/zero-nonce === RUN Test_sshCertDefaultValidator_Valid/fail/nil-key === RUN Test_sshCertDefaultValidator_Valid/fail/zero-serial === RUN Test_sshCertDefaultValidator_Valid/fail/unexpected-cert-type === RUN Test_sshCertDefaultValidator_Valid/fail/empty-cert-key-id === RUN Test_sshCertDefaultValidator_Valid/fail/zero-validAfter === RUN Test_sshCertDefaultValidator_Valid/fail/validBefore-past === RUN Test_sshCertDefaultValidator_Valid/fail/validAfter-after-validBefore === RUN Test_sshCertDefaultValidator_Valid/fail/nil-signature-key === RUN Test_sshCertDefaultValidator_Valid/fail/nil-signature === RUN Test_sshCertDefaultValidator_Valid/ok/userCert === RUN Test_sshCertDefaultValidator_Valid/ok/hostCert === RUN Test_sshCertDefaultValidator_Valid/ok/emptyPrincipals === RUN Test_sshCertDefaultValidator_Valid/ok/empty-extensions --- PASS: Test_sshCertDefaultValidator_Valid (0.01s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/zero-nonce (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/nil-key (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/zero-serial (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/unexpected-cert-type (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/empty-cert-key-id (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/zero-validAfter (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/validBefore-past (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/validAfter-after-validBefore (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/nil-signature-key (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/fail/nil-signature (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/ok/userCert (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/ok/hostCert (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/ok/emptyPrincipals (0.00s) --- PASS: Test_sshCertDefaultValidator_Valid/ok/empty-extensions (0.00s) === RUN Test_sshCertValidityValidator === RUN Test_sshCertValidityValidator/fail/validAfter-0 === RUN Test_sshCertValidityValidator/fail/validBefore-in-past === RUN Test_sshCertValidityValidator/fail/validBefore-before-validAfter === RUN Test_sshCertValidityValidator/fail/cert-type-not-set === RUN Test_sshCertValidityValidator/fail/unexpected-cert-type === RUN Test_sshCertValidityValidator/fail/durationmax === RUN Test_sshCertValidityValidator/ok/duration-exactly-max === RUN Test_sshCertValidityValidator/ok --- PASS: Test_sshCertValidityValidator (0.01s) --- PASS: Test_sshCertValidityValidator/fail/validAfter-0 (0.00s) --- PASS: Test_sshCertValidityValidator/fail/validBefore-in-past (0.00s) --- PASS: Test_sshCertValidityValidator/fail/validBefore-before-validAfter (0.00s) --- PASS: Test_sshCertValidityValidator/fail/cert-type-not-set (0.00s) --- PASS: Test_sshCertValidityValidator/fail/unexpected-cert-type (0.00s) --- PASS: Test_sshCertValidityValidator/fail/durationmax (0.00s) --- PASS: Test_sshCertValidityValidator/ok/duration-exactly-max (0.00s) --- PASS: Test_sshCertValidityValidator/ok (0.00s) === RUN Test_sshValidityModifier === RUN Test_sshValidityModifier/fail/requested-validBefore-after-limit === RUN Test_sshValidityModifier/ok/no-limit === RUN Test_sshValidityModifier/ok/defaults === RUN Test_sshValidityModifier/ok/valid-requested-validBefore === RUN Test_sshValidityModifier/ok/empty-requested-validBefore-limit-after-default === RUN Test_sshValidityModifier/fail/type-not-set === RUN Test_sshValidityModifier/fail/type-not-recognized === RUN Test_sshValidityModifier/fail/requested-validAfter-after-limit === RUN Test_sshValidityModifier/ok/empty-requested-validBefore-limit-before-default --- PASS: Test_sshValidityModifier (0.01s) --- PASS: Test_sshValidityModifier/fail/requested-validBefore-after-limit (0.00s) --- PASS: Test_sshValidityModifier/ok/no-limit (0.00s) --- PASS: Test_sshValidityModifier/ok/defaults (0.00s) --- PASS: Test_sshValidityModifier/ok/valid-requested-validBefore (0.00s) --- PASS: Test_sshValidityModifier/ok/empty-requested-validBefore-limit-after-default (0.00s) --- PASS: Test_sshValidityModifier/fail/type-not-set (0.00s) --- PASS: Test_sshValidityModifier/fail/type-not-recognized (0.00s) --- PASS: Test_sshValidityModifier/fail/requested-validAfter-after-limit (0.00s) --- PASS: Test_sshValidityModifier/ok/empty-requested-validBefore-limit-before-default (0.00s) === RUN Test_sshDefaultDuration_Option === RUN Test_sshDefaultDuration_Option/user === RUN Test_sshDefaultDuration_Option/host === RUN Test_sshDefaultDuration_Option/user_claim === RUN Test_sshDefaultDuration_Option/host_claim === RUN Test_sshDefaultDuration_Option/user_backdate === RUN Test_sshDefaultDuration_Option/host_backdate === RUN Test_sshDefaultDuration_Option/user_validAfter === RUN Test_sshDefaultDuration_Option/user_validBefore === RUN Test_sshDefaultDuration_Option/host_validAfter_validBefore === RUN Test_sshDefaultDuration_Option/fail_zero === RUN Test_sshDefaultDuration_Option/fail_type --- PASS: Test_sshDefaultDuration_Option (0.00s) --- PASS: Test_sshDefaultDuration_Option/user (0.00s) --- PASS: Test_sshDefaultDuration_Option/host (0.00s) --- PASS: Test_sshDefaultDuration_Option/user_claim (0.00s) --- PASS: Test_sshDefaultDuration_Option/host_claim (0.00s) --- PASS: Test_sshDefaultDuration_Option/user_backdate (0.00s) --- PASS: Test_sshDefaultDuration_Option/host_backdate (0.00s) --- PASS: Test_sshDefaultDuration_Option/user_validAfter (0.00s) --- PASS: Test_sshDefaultDuration_Option/user_validBefore (0.00s) --- PASS: Test_sshDefaultDuration_Option/host_validAfter_validBefore (0.00s) --- PASS: Test_sshDefaultDuration_Option/fail_zero (0.00s) --- PASS: Test_sshDefaultDuration_Option/fail_type (0.00s) === RUN TestCustomSSHTemplateOptions === RUN TestCustomSSHTemplateOptions/ok === RUN TestCustomSSHTemplateOptions/okNoData === RUN TestCustomSSHTemplateOptions/okTemplateData === RUN TestCustomSSHTemplateOptions/okNullTemplateData === RUN TestCustomSSHTemplateOptions/okTemplate === RUN TestCustomSSHTemplateOptions/okFile === RUN TestCustomSSHTemplateOptions/okBase64 === RUN TestCustomSSHTemplateOptions/okUserOptions === RUN TestCustomSSHTemplateOptions/okNulUserOptions === RUN TestCustomSSHTemplateOptions/okBadUserOptions === RUN TestCustomSSHTemplateOptions/fail --- PASS: TestCustomSSHTemplateOptions (0.04s) --- PASS: TestCustomSSHTemplateOptions/ok (0.01s) --- PASS: TestCustomSSHTemplateOptions/okNoData (0.00s) --- PASS: TestCustomSSHTemplateOptions/okTemplateData (0.01s) --- PASS: TestCustomSSHTemplateOptions/okNullTemplateData (0.00s) --- PASS: TestCustomSSHTemplateOptions/okTemplate (0.00s) --- PASS: TestCustomSSHTemplateOptions/okFile (0.01s) --- PASS: TestCustomSSHTemplateOptions/okBase64 (0.00s) --- PASS: TestCustomSSHTemplateOptions/okUserOptions (0.00s) --- PASS: TestCustomSSHTemplateOptions/okNulUserOptions (0.00s) --- PASS: TestCustomSSHTemplateOptions/okBadUserOptions (0.01s) --- PASS: TestCustomSSHTemplateOptions/fail (0.00s) === RUN TestSSHPOP_Getters --- PASS: TestSSHPOP_Getters (0.01s) === RUN TestSSHPOP_authorizeToken === RUN TestSSHPOP_authorizeToken/fail/no-signer-found === RUN TestSSHPOP_authorizeToken/fail/error-parsing-claims-bad-sig === RUN TestSSHPOP_authorizeToken/fail/invalid-claims-issuer === RUN TestSSHPOP_authorizeToken/fail/invalid-audience === RUN TestSSHPOP_authorizeToken/ok === RUN TestSSHPOP_authorizeToken/fail/bad-token === RUN TestSSHPOP_authorizeToken/fail/cert-past-validity === RUN TestSSHPOP_authorizeToken/fail/cert-not-yet-valid === RUN TestSSHPOP_authorizeToken/fail/empty-subject --- PASS: TestSSHPOP_authorizeToken (0.23s) --- PASS: TestSSHPOP_authorizeToken/fail/no-signer-found (0.02s) --- PASS: TestSSHPOP_authorizeToken/fail/error-parsing-claims-bad-sig (0.04s) --- PASS: TestSSHPOP_authorizeToken/fail/invalid-claims-issuer (0.03s) --- PASS: TestSSHPOP_authorizeToken/fail/invalid-audience (0.03s) --- PASS: TestSSHPOP_authorizeToken/ok (0.03s) --- PASS: TestSSHPOP_authorizeToken/fail/bad-token (0.00s) --- PASS: TestSSHPOP_authorizeToken/fail/cert-past-validity (0.02s) --- PASS: TestSSHPOP_authorizeToken/fail/cert-not-yet-valid (0.01s) --- PASS: TestSSHPOP_authorizeToken/fail/empty-subject (0.04s) === RUN TestSSHPOP_AuthorizeSSHRevoke === RUN TestSSHPOP_AuthorizeSSHRevoke/fail/subject-not-equal-serial === RUN TestSSHPOP_AuthorizeSSHRevoke/ok === RUN TestSSHPOP_AuthorizeSSHRevoke/fail/bad-token --- PASS: TestSSHPOP_AuthorizeSSHRevoke (0.07s) --- PASS: TestSSHPOP_AuthorizeSSHRevoke/fail/subject-not-equal-serial (0.03s) --- PASS: TestSSHPOP_AuthorizeSSHRevoke/ok (0.03s) --- PASS: TestSSHPOP_AuthorizeSSHRevoke/fail/bad-token (0.00s) === RUN TestSSHPOP_AuthorizeSSHRenew === RUN TestSSHPOP_AuthorizeSSHRenew/fail/bad-token === RUN TestSSHPOP_AuthorizeSSHRenew/fail/not-host-cert === RUN TestSSHPOP_AuthorizeSSHRenew/ok --- PASS: TestSSHPOP_AuthorizeSSHRenew (0.08s) --- PASS: TestSSHPOP_AuthorizeSSHRenew/fail/bad-token (0.00s) --- PASS: TestSSHPOP_AuthorizeSSHRenew/fail/not-host-cert (0.03s) --- PASS: TestSSHPOP_AuthorizeSSHRenew/ok (0.04s) === RUN TestSSHPOP_AuthorizeSSHRekey === RUN TestSSHPOP_AuthorizeSSHRekey/fail/bad-token === RUN TestSSHPOP_AuthorizeSSHRekey/fail/not-host-cert === RUN TestSSHPOP_AuthorizeSSHRekey/ok --- PASS: TestSSHPOP_AuthorizeSSHRekey (0.09s) --- PASS: TestSSHPOP_AuthorizeSSHRekey/fail/bad-token (0.00s) --- PASS: TestSSHPOP_AuthorizeSSHRekey/fail/not-host-cert (0.04s) --- PASS: TestSSHPOP_AuthorizeSSHRekey/ok (0.04s) === RUN TestSSHPOP_ExtractSSHPOPCert === RUN TestSSHPOP_ExtractSSHPOPCert/fail/sshpop-missing === RUN TestSSHPOP_ExtractSSHPOPCert/fail/wrong-sshpop-type === RUN TestSSHPOP_ExtractSSHPOPCert/fail/base64decode-error === RUN TestSSHPOP_ExtractSSHPOPCert/fail/parsing-sshpop-pubkey === RUN TestSSHPOP_ExtractSSHPOPCert/ok === RUN TestSSHPOP_ExtractSSHPOPCert/fail/bad-token --- PASS: TestSSHPOP_ExtractSSHPOPCert (0.06s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/sshpop-missing (0.01s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/wrong-sshpop-type (0.01s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/base64decode-error (0.00s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/parsing-sshpop-pubkey (0.02s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/ok (0.01s) --- PASS: TestSSHPOP_ExtractSSHPOPCert/fail/bad-token (0.00s) === RUN TestNewTimeDuration === RUN TestNewTimeDuration/ok === RUN TestNewTimeDuration/zero --- PASS: TestNewTimeDuration (0.00s) --- PASS: TestNewTimeDuration/ok (0.00s) --- PASS: TestNewTimeDuration/zero (0.00s) === RUN TestParseTimeDuration === RUN TestParseTimeDuration/timestamp === RUN TestParseTimeDuration/timestamp#01 === RUN TestParseTimeDuration/timestamp#02 === RUN TestParseTimeDuration/timestamp#03 === RUN TestParseTimeDuration/timestamp#04 === RUN TestParseTimeDuration/timestamp#05 === RUN TestParseTimeDuration/1h === RUN TestParseTimeDuration/-24h60m60s === RUN TestParseTimeDuration/0 === RUN TestParseTimeDuration/empty === RUN TestParseTimeDuration/fail === RUN TestParseTimeDuration/fail#01 --- PASS: TestParseTimeDuration (0.00s) --- PASS: TestParseTimeDuration/timestamp (0.00s) --- PASS: TestParseTimeDuration/timestamp#01 (0.00s) --- PASS: TestParseTimeDuration/timestamp#02 (0.00s) --- PASS: TestParseTimeDuration/timestamp#03 (0.00s) --- PASS: TestParseTimeDuration/timestamp#04 (0.00s) --- PASS: TestParseTimeDuration/timestamp#05 (0.00s) --- PASS: TestParseTimeDuration/1h (0.00s) --- PASS: TestParseTimeDuration/-24h60m60s (0.00s) --- PASS: TestParseTimeDuration/0 (0.00s) --- PASS: TestParseTimeDuration/empty (0.00s) --- PASS: TestParseTimeDuration/fail (0.00s) --- PASS: TestParseTimeDuration/fail#01 (0.00s) === RUN TestTimeDuration_SetDuration === RUN TestTimeDuration_SetDuration/new === RUN TestTimeDuration_SetDuration/old --- PASS: TestTimeDuration_SetDuration (0.00s) --- PASS: TestTimeDuration_SetDuration/new (0.00s) --- PASS: TestTimeDuration_SetDuration/old (0.00s) === RUN TestTimeDuration_SetTime === RUN TestTimeDuration_SetTime/new === RUN TestTimeDuration_SetTime/old --- PASS: TestTimeDuration_SetTime (0.00s) --- PASS: TestTimeDuration_SetTime/new (0.00s) --- PASS: TestTimeDuration_SetTime/old (0.00s) === RUN TestTimeDuration_MarshalJSON === RUN TestTimeDuration_MarshalJSON/empty === RUN TestTimeDuration_MarshalJSON/timestamp === RUN TestTimeDuration_MarshalJSON/duration === RUN TestTimeDuration_MarshalJSON/fail --- PASS: TestTimeDuration_MarshalJSON (0.00s) --- PASS: TestTimeDuration_MarshalJSON/empty (0.00s) --- PASS: TestTimeDuration_MarshalJSON/timestamp (0.00s) --- PASS: TestTimeDuration_MarshalJSON/duration (0.00s) --- PASS: TestTimeDuration_MarshalJSON/fail (0.00s) === RUN TestTimeDuration_UnmarshalJSON === RUN TestTimeDuration_UnmarshalJSON/empty === RUN TestTimeDuration_UnmarshalJSON/timestamp === RUN TestTimeDuration_UnmarshalJSON/duration === RUN TestTimeDuration_UnmarshalJSON/fail === RUN TestTimeDuration_UnmarshalJSON/fail#01 --- PASS: TestTimeDuration_UnmarshalJSON (0.01s) --- PASS: TestTimeDuration_UnmarshalJSON/empty (0.00s) --- PASS: TestTimeDuration_UnmarshalJSON/timestamp (0.00s) --- PASS: TestTimeDuration_UnmarshalJSON/duration (0.00s) --- PASS: TestTimeDuration_UnmarshalJSON/fail (0.00s) --- PASS: TestTimeDuration_UnmarshalJSON/fail#01 (0.00s) === RUN TestTimeDuration_Time === RUN TestTimeDuration_Time/zero === RUN TestTimeDuration_Time/zero#01 === RUN TestTimeDuration_Time/timestamp === RUN TestTimeDuration_Time/local === RUN TestTimeDuration_Time/duration --- PASS: TestTimeDuration_Time (0.00s) --- PASS: TestTimeDuration_Time/zero (0.00s) --- PASS: TestTimeDuration_Time/zero#01 (0.00s) --- PASS: TestTimeDuration_Time/timestamp (0.00s) --- PASS: TestTimeDuration_Time/local (0.00s) --- PASS: TestTimeDuration_Time/duration (0.00s) === RUN TestTimeDuration_Unix === RUN TestTimeDuration_Unix/zero === RUN TestTimeDuration_Unix/zero#01 === RUN TestTimeDuration_Unix/timestamp === RUN TestTimeDuration_Unix/local === RUN TestTimeDuration_Unix/duration --- PASS: TestTimeDuration_Unix (0.00s) --- PASS: TestTimeDuration_Unix/zero (0.00s) --- PASS: TestTimeDuration_Unix/zero#01 (0.00s) --- PASS: TestTimeDuration_Unix/timestamp (0.00s) --- PASS: TestTimeDuration_Unix/local (0.00s) --- PASS: TestTimeDuration_Unix/duration (0.00s) === RUN TestTimeDuration_String === RUN TestTimeDuration_String/zero === RUN TestTimeDuration_String/zero#01 === RUN TestTimeDuration_String/timestamp === RUN TestTimeDuration_String/duration --- PASS: TestTimeDuration_String (0.00s) --- PASS: TestTimeDuration_String/zero (0.00s) --- PASS: TestTimeDuration_String/zero#01 (0.00s) --- PASS: TestTimeDuration_String/timestamp (0.00s) --- PASS: TestTimeDuration_String/duration (0.00s) === RUN TestWebhookController_isCertTypeOK === RUN TestWebhookController_isCertTypeOK/x509/"" === RUN TestWebhookController_isCertTypeOK/ssh/all === RUN TestWebhookController_isCertTypeOK/ssh/ssh === RUN TestWebhookController_isCertTypeOK/all/all === RUN TestWebhookController_isCertTypeOK/all/ssh === RUN TestWebhookController_isCertTypeOK/x509/ssh === RUN TestWebhookController_isCertTypeOK/x509/x509 === RUN TestWebhookController_isCertTypeOK/ssh/x509 === RUN TestWebhookController_isCertTypeOK/ssh/"" === RUN TestWebhookController_isCertTypeOK/all/x509 === RUN TestWebhookController_isCertTypeOK/all/"" === RUN TestWebhookController_isCertTypeOK/x509/all --- PASS: TestWebhookController_isCertTypeOK (0.00s) --- PASS: TestWebhookController_isCertTypeOK/x509/"" (0.00s) --- PASS: TestWebhookController_isCertTypeOK/ssh/all (0.00s) --- PASS: TestWebhookController_isCertTypeOK/ssh/ssh (0.00s) --- PASS: TestWebhookController_isCertTypeOK/all/all (0.00s) --- PASS: TestWebhookController_isCertTypeOK/all/ssh (0.00s) --- PASS: TestWebhookController_isCertTypeOK/x509/ssh (0.00s) --- PASS: TestWebhookController_isCertTypeOK/x509/x509 (0.00s) --- PASS: TestWebhookController_isCertTypeOK/ssh/x509 (0.00s) --- PASS: TestWebhookController_isCertTypeOK/ssh/"" (0.00s) --- PASS: TestWebhookController_isCertTypeOK/all/x509 (0.00s) --- PASS: TestWebhookController_isCertTypeOK/all/"" (0.00s) --- PASS: TestWebhookController_isCertTypeOK/x509/all (0.00s) === RUN TestWebhookController_Enrich === RUN TestWebhookController_Enrich/deny === RUN TestWebhookController_Enrich/ok/no_enriching_webhooks === RUN TestWebhookController_Enrich/ok/one_webhook === RUN TestWebhookController_Enrich/ok/two_webhooks === RUN TestWebhookController_Enrich/ok/x509_only --- PASS: TestWebhookController_Enrich (0.05s) --- PASS: TestWebhookController_Enrich/deny (0.02s) --- PASS: TestWebhookController_Enrich/ok/no_enriching_webhooks (0.00s) --- PASS: TestWebhookController_Enrich/ok/one_webhook (0.01s) --- PASS: TestWebhookController_Enrich/ok/two_webhooks (0.01s) --- PASS: TestWebhookController_Enrich/ok/x509_only (0.00s) === RUN TestWebhookController_Authorize === RUN TestWebhookController_Authorize/ok/no_enriching_webhooks === RUN TestWebhookController_Authorize/ok === RUN TestWebhookController_Authorize/ok/ssh_only === RUN TestWebhookController_Authorize/deny --- PASS: TestWebhookController_Authorize (0.03s) --- PASS: TestWebhookController_Authorize/ok/no_enriching_webhooks (0.01s) --- PASS: TestWebhookController_Authorize/ok (0.01s) --- PASS: TestWebhookController_Authorize/ok/ssh_only (0.00s) --- PASS: TestWebhookController_Authorize/deny (0.01s) === RUN TestWebhook_Do === RUN TestWebhook_Do/ok/bearer === RUN TestWebhook_Do/ok/basic === RUN TestWebhook_Do/ok/templated-url === RUN TestWebhook_Do/fail/404 === RUN TestWebhook_Do/ok/allow === RUN TestWebhook_Do/ok === RUN TestWebhook_Do/disableTLSClientAuth 2023/01/26 03:30:14 http: TLS handshake error from 127.0.0.1:43050: tls: client didn't provide a certificate 2023/01/26 03:30:16 http: TLS handshake error from 127.0.0.1:43062: tls: client didn't provide a certificate --- PASS: TestWebhook_Do (1.39s) --- PASS: TestWebhook_Do/ok/bearer (0.01s) --- PASS: TestWebhook_Do/ok/basic (0.03s) --- PASS: TestWebhook_Do/ok/templated-url (0.01s) --- PASS: TestWebhook_Do/fail/404 (0.01s) --- PASS: TestWebhook_Do/ok/allow (0.01s) --- PASS: TestWebhook_Do/ok (0.01s) --- PASS: TestWebhook_Do/disableTLSClientAuth (1.32s) === RUN TestX5C_Getters --- PASS: TestX5C_Getters (0.00s) === RUN TestX5C_Init === RUN TestX5C_Init/fail/empty-key === RUN TestX5C_Init/fail/no-valid-root-certs === RUN TestX5C_Init/fail/invalid-duration === RUN TestX5C_Init/ok === RUN TestX5C_Init/ok/root-chain === RUN TestX5C_Init/fail/empty === RUN TestX5C_Init/fail/empty-name === RUN TestX5C_Init/fail/empty-type --- PASS: TestX5C_Init (0.00s) --- PASS: TestX5C_Init/fail/empty-key (0.00s) --- PASS: TestX5C_Init/fail/no-valid-root-certs (0.00s) --- PASS: TestX5C_Init/fail/invalid-duration (0.00s) --- PASS: TestX5C_Init/ok (0.00s) --- PASS: TestX5C_Init/ok/root-chain (0.00s) --- PASS: TestX5C_Init/fail/empty (0.00s) --- PASS: TestX5C_Init/fail/empty-name (0.00s) --- PASS: TestX5C_Init/fail/empty-type (0.00s) === RUN TestX5C_authorizeToken === RUN TestX5C_authorizeToken/fail/invalid-audience === RUN TestX5C_authorizeToken/ok === RUN TestX5C_authorizeToken/fail/bad-token === RUN TestX5C_authorizeToken/fail/invalid-cert-chain === RUN TestX5C_authorizeToken/fail/doubled-up-self-signed-cert === RUN TestX5C_authorizeToken/fail/digital-signature-ext-required === RUN TestX5C_authorizeToken/fail/signature-does-not-match-x5c-pub-key === RUN TestX5C_authorizeToken/fail/invalid-issuer === RUN TestX5C_authorizeToken/fail/empty-subject --- PASS: TestX5C_authorizeToken (0.28s) --- PASS: TestX5C_authorizeToken/fail/invalid-audience (0.04s) --- PASS: TestX5C_authorizeToken/ok (0.03s) --- PASS: TestX5C_authorizeToken/fail/bad-token (0.00s) --- PASS: TestX5C_authorizeToken/fail/invalid-cert-chain (0.02s) --- PASS: TestX5C_authorizeToken/fail/doubled-up-self-signed-cert (0.01s) --- PASS: TestX5C_authorizeToken/fail/digital-signature-ext-required (0.03s) --- PASS: TestX5C_authorizeToken/fail/signature-does-not-match-x5c-pub-key (0.04s) --- PASS: TestX5C_authorizeToken/fail/invalid-issuer (0.05s) --- PASS: TestX5C_authorizeToken/fail/empty-subject (0.04s) === RUN TestX5C_AuthorizeSign === RUN TestX5C_AuthorizeSign/fail/invalid-token === RUN TestX5C_AuthorizeSign/ok/empty-sans === RUN TestX5C_AuthorizeSign/ok/multi-sans --- PASS: TestX5C_AuthorizeSign (0.16s) --- PASS: TestX5C_AuthorizeSign/fail/invalid-token (0.00s) --- PASS: TestX5C_AuthorizeSign/ok/empty-sans (0.08s) --- PASS: TestX5C_AuthorizeSign/ok/multi-sans (0.08s) === RUN TestX5C_AuthorizeRevoke === RUN TestX5C_AuthorizeRevoke/ok === RUN TestX5C_AuthorizeRevoke/fail/invalid-token --- PASS: TestX5C_AuthorizeRevoke (0.03s) --- PASS: TestX5C_AuthorizeRevoke/ok (0.03s) --- PASS: TestX5C_AuthorizeRevoke/fail/invalid-token (0.00s) === RUN TestX5C_AuthorizeRenew === RUN TestX5C_AuthorizeRenew/fail/renew-disabled === RUN TestX5C_AuthorizeRenew/ok --- PASS: TestX5C_AuthorizeRenew (0.00s) --- PASS: TestX5C_AuthorizeRenew/fail/renew-disabled (0.00s) --- PASS: TestX5C_AuthorizeRenew/ok (0.00s) === RUN TestX5C_AuthorizeSSHSign === RUN TestX5C_AuthorizeSSHSign/fail/sshCA-disabled === RUN TestX5C_AuthorizeSSHSign/fail/invalid-token === RUN TestX5C_AuthorizeSSHSign/fail/no-Step-claim === RUN TestX5C_AuthorizeSSHSign/fail/no-SSH-subattribute-in-claims === RUN TestX5C_AuthorizeSSHSign/ok/with-claims === RUN TestX5C_AuthorizeSSHSign/ok/without-claims --- PASS: TestX5C_AuthorizeSSHSign (0.17s) --- PASS: TestX5C_AuthorizeSSHSign/fail/sshCA-disabled (0.00s) --- PASS: TestX5C_AuthorizeSSHSign/fail/invalid-token (0.00s) --- PASS: TestX5C_AuthorizeSSHSign/fail/no-Step-claim (0.04s) --- PASS: TestX5C_AuthorizeSSHSign/fail/no-SSH-subattribute-in-claims (0.03s) --- PASS: TestX5C_AuthorizeSSHSign/ok/with-claims (0.04s) --- PASS: TestX5C_AuthorizeSSHSign/ok/without-claims (0.06s) PASS ok github.com/smallstep/certificates/authority/provisioner 177.908s === RUN TestNewACMEClient === RUN TestNewACMEClient/fail/client-option-error === RUN TestNewACMEClient/fail/get-directory === RUN TestNewACMEClient/fail/bad-directory === RUN TestNewACMEClient/fail/error-post-newAccount === RUN TestNewACMEClient/fail/error-bad-account === RUN TestNewACMEClient/ok --- PASS: TestNewACMEClient (0.10s) --- PASS: TestNewACMEClient/fail/client-option-error (0.00s) --- PASS: TestNewACMEClient/fail/get-directory (0.02s) --- PASS: TestNewACMEClient/fail/bad-directory (0.00s) --- PASS: TestNewACMEClient/fail/error-post-newAccount (0.04s) --- PASS: TestNewACMEClient/fail/error-bad-account (0.02s) --- PASS: TestNewACMEClient/ok (0.01s) === RUN TestACMEClient_GetDirectory --- PASS: TestACMEClient_GetDirectory (0.00s) === RUN TestACMEClient_GetNonce === RUN TestACMEClient_GetNonce/fail/GET-nonce === RUN TestACMEClient_GetNonce/ok --- PASS: TestACMEClient_GetNonce (0.00s) --- PASS: TestACMEClient_GetNonce/fail/GET-nonce (0.00s) --- PASS: TestACMEClient_GetNonce/ok (0.00s) === RUN TestACMEClient_post === RUN TestACMEClient_post/fail/account-not-configured === RUN TestACMEClient_post/fail/GET-nonce === RUN TestACMEClient_post/ok/jwk === RUN TestACMEClient_post/ok/kid --- PASS: TestACMEClient_post (0.03s) --- PASS: TestACMEClient_post/fail/account-not-configured (0.00s) --- PASS: TestACMEClient_post/fail/GET-nonce (0.01s) --- PASS: TestACMEClient_post/ok/jwk (0.01s) --- PASS: TestACMEClient_post/ok/kid (0.01s) === RUN TestACMEClient_NewOrder === RUN TestACMEClient_NewOrder/ok === RUN TestACMEClient_NewOrder/fail/client-post === RUN TestACMEClient_NewOrder/fail/newOrder-error === RUN TestACMEClient_NewOrder/fail/bad-order --- PASS: TestACMEClient_NewOrder (0.04s) --- PASS: TestACMEClient_NewOrder/ok (0.01s) --- PASS: TestACMEClient_NewOrder/fail/client-post (0.00s) --- PASS: TestACMEClient_NewOrder/fail/newOrder-error (0.01s) --- PASS: TestACMEClient_NewOrder/fail/bad-order (0.01s) === RUN TestACMEClient_GetOrder === RUN TestACMEClient_GetOrder/fail/getOrder-error === RUN TestACMEClient_GetOrder/fail/bad-order === RUN TestACMEClient_GetOrder/ok === RUN TestACMEClient_GetOrder/fail/client-post --- PASS: TestACMEClient_GetOrder (0.05s) --- PASS: TestACMEClient_GetOrder/fail/getOrder-error (0.02s) --- PASS: TestACMEClient_GetOrder/fail/bad-order (0.01s) --- PASS: TestACMEClient_GetOrder/ok (0.02s) --- PASS: TestACMEClient_GetOrder/fail/client-post (0.00s) === RUN TestACMEClient_GetAuthz === RUN TestACMEClient_GetAuthz/fail/client-post === RUN TestACMEClient_GetAuthz/fail/getChallenge-error === RUN TestACMEClient_GetAuthz/fail/bad-challenge === RUN TestACMEClient_GetAuthz/ok --- PASS: TestACMEClient_GetAuthz (0.04s) --- PASS: TestACMEClient_GetAuthz/fail/client-post (0.00s) --- PASS: TestACMEClient_GetAuthz/fail/getChallenge-error (0.01s) --- PASS: TestACMEClient_GetAuthz/fail/bad-challenge (0.01s) --- PASS: TestACMEClient_GetAuthz/ok (0.01s) === RUN TestACMEClient_GetChallenge === RUN TestACMEClient_GetChallenge/fail/client-post === RUN TestACMEClient_GetChallenge/fail/getChallenge-error === RUN TestACMEClient_GetChallenge/fail/bad-challenge === RUN TestACMEClient_GetChallenge/ok --- PASS: TestACMEClient_GetChallenge (0.04s) --- PASS: TestACMEClient_GetChallenge/fail/client-post (0.00s) --- PASS: TestACMEClient_GetChallenge/fail/getChallenge-error (0.01s) --- PASS: TestACMEClient_GetChallenge/fail/bad-challenge (0.01s) --- PASS: TestACMEClient_GetChallenge/ok (0.02s) === RUN TestACMEClient_ValidateChallenge === RUN TestACMEClient_ValidateChallenge/fail/client-post === RUN TestACMEClient_ValidateChallenge/fail/getChallenge-error === RUN TestACMEClient_ValidateChallenge/fail/bad-challenge === RUN TestACMEClient_ValidateChallenge/ok --- PASS: TestACMEClient_ValidateChallenge (0.04s) --- PASS: TestACMEClient_ValidateChallenge/fail/client-post (0.00s) --- PASS: TestACMEClient_ValidateChallenge/fail/getChallenge-error (0.01s) --- PASS: TestACMEClient_ValidateChallenge/fail/bad-challenge (0.01s) --- PASS: TestACMEClient_ValidateChallenge/ok (0.01s) === RUN TestACMEClient_ValidateWithPayload === RUN TestACMEClient_ValidateWithPayload/ok === CONT TestACMEClient_ValidateWithPayload acmeClient_test.go:989: /nonce acmeClient_test.go:989: /ok === RUN TestACMEClient_ValidateWithPayload/fail_nonce === CONT TestACMEClient_ValidateWithPayload acmeClient_test.go:989: /fail-nonce === RUN TestACMEClient_ValidateWithPayload/fail_payload === CONT TestACMEClient_ValidateWithPayload acmeClient_test.go:989: /nonce acmeClient_test.go:989: /fail --- PASS: TestACMEClient_ValidateWithPayload (0.03s) --- PASS: TestACMEClient_ValidateWithPayload/ok (0.01s) --- PASS: TestACMEClient_ValidateWithPayload/fail_nonce (0.00s) --- PASS: TestACMEClient_ValidateWithPayload/fail_payload (0.01s) === RUN TestACMEClient_FinalizeOrder === RUN TestACMEClient_FinalizeOrder/fail/client-post === RUN TestACMEClient_FinalizeOrder/fail/finalizeOrder-error === RUN TestACMEClient_FinalizeOrder/fail/bad-order === RUN TestACMEClient_FinalizeOrder/ok --- PASS: TestACMEClient_FinalizeOrder (0.04s) --- PASS: TestACMEClient_FinalizeOrder/fail/client-post (0.00s) --- PASS: TestACMEClient_FinalizeOrder/fail/finalizeOrder-error (0.01s) --- PASS: TestACMEClient_FinalizeOrder/fail/bad-order (0.01s) --- PASS: TestACMEClient_FinalizeOrder/ok (0.01s) === RUN TestACMEClient_GetAccountOrders === RUN TestACMEClient_GetAccountOrders/fail/account-not-configured === RUN TestACMEClient_GetAccountOrders/fail/client-post === RUN TestACMEClient_GetAccountOrders/fail/getAccountOrders-error === RUN TestACMEClient_GetAccountOrders/fail/bad-accountOrders === RUN TestACMEClient_GetAccountOrders/ok --- PASS: TestACMEClient_GetAccountOrders (0.09s) --- PASS: TestACMEClient_GetAccountOrders/fail/account-not-configured (0.00s) --- PASS: TestACMEClient_GetAccountOrders/fail/client-post (0.04s) --- PASS: TestACMEClient_GetAccountOrders/fail/getAccountOrders-error (0.01s) --- PASS: TestACMEClient_GetAccountOrders/fail/bad-accountOrders (0.02s) --- PASS: TestACMEClient_GetAccountOrders/ok (0.01s) === RUN TestACMEClient_GetCertificate === RUN TestACMEClient_GetCertificate/fail/client-post === RUN TestACMEClient_GetCertificate/fail/getAccountOrders-error === RUN TestACMEClient_GetCertificate/fail/bad-certificate === RUN TestACMEClient_GetCertificate/ok --- PASS: TestACMEClient_GetCertificate (0.04s) --- PASS: TestACMEClient_GetCertificate/fail/client-post (0.00s) --- PASS: TestACMEClient_GetCertificate/fail/getAccountOrders-error (0.01s) --- PASS: TestACMEClient_GetCertificate/fail/bad-certificate (0.01s) --- PASS: TestACMEClient_GetCertificate/ok (0.01s) === RUN TestBootstrap === RUN TestBootstrap/ok === RUN TestBootstrap/token_err === RUN TestBootstrap/bad_claims === RUN TestBootstrap/bad_sha === RUN TestBootstrap/bad_aud --- PASS: TestBootstrap (8.32s) --- PASS: TestBootstrap/ok (0.02s) --- PASS: TestBootstrap/token_err (0.00s) --- PASS: TestBootstrap/bad_claims (0.00s) --- PASS: TestBootstrap/bad_sha (0.00s) --- PASS: TestBootstrap/bad_aud (0.00s) === RUN TestBootstrapServerWithoutMTLS === RUN TestBootstrapServerWithoutMTLS/ok === RUN TestBootstrapServerWithoutMTLS/ok_mtls === RUN TestBootstrapServerWithoutMTLS/fail === RUN TestBootstrapServerWithoutMTLS/fail_with_TLSConfig --- PASS: TestBootstrapServerWithoutMTLS (8.33s) --- PASS: TestBootstrapServerWithoutMTLS/ok (0.14s) --- PASS: TestBootstrapServerWithoutMTLS/ok_mtls (0.14s) --- PASS: TestBootstrapServerWithoutMTLS/fail (0.00s) --- PASS: TestBootstrapServerWithoutMTLS/fail_with_TLSConfig (0.00s) === RUN TestBootstrapServerWithMTLS === RUN TestBootstrapServerWithMTLS/ok === RUN TestBootstrapServerWithMTLS/ok_mtls === RUN TestBootstrapServerWithMTLS/fail === RUN TestBootstrapServerWithMTLS/fail_with_TLSConfig --- PASS: TestBootstrapServerWithMTLS (8.63s) --- PASS: TestBootstrapServerWithMTLS/ok (0.15s) --- PASS: TestBootstrapServerWithMTLS/ok_mtls (0.11s) --- PASS: TestBootstrapServerWithMTLS/fail (0.00s) --- PASS: TestBootstrapServerWithMTLS/fail_with_TLSConfig (0.00s) === RUN TestBootstrapClient === RUN TestBootstrapClient/ok === RUN TestBootstrapClient/ok_mtls === RUN TestBootstrapClient/fail --- PASS: TestBootstrapClient (6.24s) --- PASS: TestBootstrapClient/ok (0.25s) --- PASS: TestBootstrapClient/ok_mtls (0.25s) --- PASS: TestBootstrapClient/fail (0.00s) === RUN TestBootstrapClientServerRotation 2023/01/26 03:29:21 Serving HTTPS on 127.0.0.1:40967 ... 2023/01/26 03:29:36 Serving HTTPS on 127.0.0.1:40967 ... 2023/01/26 03:29:36 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39256: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:36+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:36 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39280: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:36+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:36 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39294: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:36+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:36 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39302: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:36+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:37 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39312: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:37+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:37 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39328: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:37+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:37 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39330: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:37+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:37 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39336: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:37+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:38 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:39352: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:38+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:38 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48434: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:38+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:38 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48442: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:38+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:38 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48446: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:38+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:39 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48454: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:39+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:39 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48466: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:39+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:39 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48480: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:39+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:39 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48482: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:39+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:40 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48490: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:40+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:40 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48502: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:40+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:40 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48504: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:40+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:40 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48510: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:40+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:40 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48516: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:40+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:41 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48532: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:41+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:41 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48546: tls: failed to verify client certificate: x509: certificate has expired or is not yet valid: current time 2023-01-26T03:29:41+08:00 is after 2023-01-25T19:29:35Z 2023/01/26 03:29:41 Serving HTTPS on 127.0.0.1:40967 ... bootstrap_test.go:496: Test with rotate-ca-2.json failed: client.Post() failed: Post "https://127.0.0.1:40967/renew": EOF 2023/01/26 03:29:41 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48574: remote error: tls: bad certificate 2023/01/26 03:29:41 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48580: remote error: tls: bad certificate 2023/01/26 03:29:41 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48584: remote error: tls: bad certificate 2023/01/26 03:29:42 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48588: remote error: tls: bad certificate 2023/01/26 03:29:42 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48602: remote error: tls: bad certificate 2023/01/26 03:29:42 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48610: remote error: tls: bad certificate 2023/01/26 03:29:42 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48622: remote error: tls: bad certificate 2023/01/26 03:29:42 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48638: remote error: tls: bad certificate 2023/01/26 03:29:43 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48654: remote error: tls: bad certificate 2023/01/26 03:29:43 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48670: remote error: tls: bad certificate 2023/01/26 03:29:43 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48676: remote error: tls: bad certificate 2023/01/26 03:29:43 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48690: remote error: tls: bad certificate 2023/01/26 03:29:43 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48706: remote error: tls: bad certificate 2023/01/26 03:29:43 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48720: remote error: tls: bad certificate 2023/01/26 03:29:44 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48730: remote error: tls: bad certificate 2023/01/26 03:29:44 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48736: remote error: tls: bad certificate 2023/01/26 03:29:44 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48752: remote error: tls: bad certificate 2023/01/26 03:29:44 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48756: remote error: tls: bad certificate 2023/01/26 03:29:45 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48772: remote error: tls: bad certificate 2023/01/26 03:29:45 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48784: remote error: tls: bad certificate 2023/01/26 03:29:45 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48788: remote error: tls: bad certificate 2023/01/26 03:29:45 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48802: remote error: tls: bad certificate 2023/01/26 03:29:45 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48816: remote error: tls: bad certificate 2023/01/26 03:29:46 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48820: remote error: tls: bad certificate 2023/01/26 03:29:46 /usr/lib/go/src/net/http/server.go:3228: http: TLS handshake error from 127.0.0.1:48824: remote error: tls: bad certificate 2023/01/26 03:29:46 Serving HTTPS on 127.0.0.1:40967 ... --- FAIL: TestBootstrapClientServerRotation (24.64s) === RUN TestBootstrapClientServerFederation 2023/01/26 03:29:46 Serving HTTPS on 127.0.0.1:42117 ... 2023/01/26 03:29:46 Serving HTTPS on 127.0.0.1:45791 ... --- PASS: TestBootstrapClientServerFederation (7.88s) === RUN TestBootstrapListener === RUN TestBootstrapListener/ok === RUN TestBootstrapListener/ok_mtls === RUN TestBootstrapListener/fail --- PASS: TestBootstrapListener (11.53s) --- PASS: TestBootstrapListener/ok (2.70s) --- PASS: TestBootstrapListener/ok_mtls (3.39s) --- PASS: TestBootstrapListener/fail (0.00s) === RUN TestCASign === RUN TestCASign/fail_invalid-csr-sig === RUN TestCASign/fail_unauthorized-ott === RUN TestCASign/fail_commonname-claim === RUN TestCASign/ok === RUN TestCASign/ok-backwards-compat-missing-subject-SAN === RUN TestCASign/fail_invalid-json-body --- PASS: TestCASign (2.28s) --- PASS: TestCASign/fail_invalid-csr-sig (0.00s) --- PASS: TestCASign/fail_unauthorized-ott (0.01s) --- PASS: TestCASign/fail_commonname-claim (0.02s) --- PASS: TestCASign/ok (0.04s) --- PASS: TestCASign/ok-backwards-compat-missing-subject-SAN (0.04s) --- PASS: TestCASign/fail_invalid-json-body (0.00s) === RUN TestCAProvisioners === RUN TestCAProvisioners/ok --- PASS: TestCAProvisioners (0.03s) --- PASS: TestCAProvisioners/ok (0.01s) === RUN TestCAProvisionerEncryptedKey === RUN TestCAProvisionerEncryptedKey/not-found === RUN TestCAProvisionerEncryptedKey/ok --- PASS: TestCAProvisionerEncryptedKey (0.03s) --- PASS: TestCAProvisionerEncryptedKey/not-found (0.00s) --- PASS: TestCAProvisionerEncryptedKey/ok (0.00s) === RUN TestCARoot === RUN TestCARoot/not-found === RUN TestCARoot/success --- PASS: TestCARoot (0.06s) --- PASS: TestCARoot/not-found (0.01s) --- PASS: TestCARoot/success (0.00s) === RUN TestCAHealth === RUN TestCAHealth/success --- PASS: TestCAHealth (0.06s) --- PASS: TestCAHealth/success (0.00s) === RUN TestCARenew === RUN TestCARenew/request-missing-tls === RUN TestCARenew/request-missing-peer-certificate === RUN TestCARenew/success --- PASS: TestCARenew (0.07s) --- PASS: TestCARenew/request-missing-tls (0.00s) --- PASS: TestCARenew/request-missing-peer-certificate (0.00s) --- PASS: TestCARenew/success (0.02s) === RUN TestClient_Version === RUN TestClient_Version/ok === RUN TestClient_Version/500 === RUN TestClient_Version/404 --- PASS: TestClient_Version (0.01s) --- PASS: TestClient_Version/ok (0.00s) --- PASS: TestClient_Version/500 (0.00s) --- PASS: TestClient_Version/404 (0.00s) === RUN TestClient_Health === RUN TestClient_Health/ok === RUN TestClient_Health/not_ok --- PASS: TestClient_Health (0.01s) --- PASS: TestClient_Health/ok (0.00s) --- PASS: TestClient_Health/not_ok (0.00s) === RUN TestClient_Root === RUN TestClient_Root/ok === RUN TestClient_Root/not_found --- PASS: TestClient_Root (0.02s) --- PASS: TestClient_Root/ok (0.01s) --- PASS: TestClient_Root/not_found (0.01s) === RUN TestClient_Sign === RUN TestClient_Sign/ok === RUN TestClient_Sign/unauthorized === RUN TestClient_Sign/empty_request === RUN TestClient_Sign/nil_request --- PASS: TestClient_Sign (0.04s) --- PASS: TestClient_Sign/ok (0.03s) --- PASS: TestClient_Sign/unauthorized (0.00s) --- PASS: TestClient_Sign/empty_request (0.00s) --- PASS: TestClient_Sign/nil_request (0.00s) === RUN TestClient_Revoke === RUN TestClient_Revoke/ok === RUN TestClient_Revoke/unauthorized === RUN TestClient_Revoke/nil_request --- PASS: TestClient_Revoke (0.01s) --- PASS: TestClient_Revoke/ok (0.00s) --- PASS: TestClient_Revoke/unauthorized (0.00s) --- PASS: TestClient_Revoke/nil_request (0.00s) === RUN TestClient_Renew === RUN TestClient_Renew/ok === RUN TestClient_Renew/unauthorized === RUN TestClient_Renew/empty_request === RUN TestClient_Renew/nil_request --- PASS: TestClient_Renew (0.02s) --- PASS: TestClient_Renew/ok (0.01s) --- PASS: TestClient_Renew/unauthorized (0.00s) --- PASS: TestClient_Renew/empty_request (0.00s) --- PASS: TestClient_Renew/nil_request (0.00s) === RUN TestClient_RenewWithToken === RUN TestClient_RenewWithToken/ok === RUN TestClient_RenewWithToken/unauthorized === RUN TestClient_RenewWithToken/empty_request === RUN TestClient_RenewWithToken/nil_request --- PASS: TestClient_RenewWithToken (0.02s) --- PASS: TestClient_RenewWithToken/ok (0.01s) --- PASS: TestClient_RenewWithToken/unauthorized (0.00s) --- PASS: TestClient_RenewWithToken/empty_request (0.00s) --- PASS: TestClient_RenewWithToken/nil_request (0.00s) === RUN TestClient_Rekey === RUN TestClient_Rekey/ok === RUN TestClient_Rekey/unauthorized === RUN TestClient_Rekey/empty_request === RUN TestClient_Rekey/nil_request --- PASS: TestClient_Rekey (0.02s) --- PASS: TestClient_Rekey/ok (0.01s) --- PASS: TestClient_Rekey/unauthorized (0.00s) --- PASS: TestClient_Rekey/empty_request (0.00s) --- PASS: TestClient_Rekey/nil_request (0.00s) === RUN TestClient_Provisioners === RUN TestClient_Provisioners/ok === RUN TestClient_Provisioners/ok_with_cursor === RUN TestClient_Provisioners/ok_with_limit === RUN TestClient_Provisioners/ok_with_cursor+limit === RUN TestClient_Provisioners/fail --- PASS: TestClient_Provisioners (0.01s) --- PASS: TestClient_Provisioners/ok (0.00s) --- PASS: TestClient_Provisioners/ok_with_cursor (0.00s) --- PASS: TestClient_Provisioners/ok_with_limit (0.00s) --- PASS: TestClient_Provisioners/ok_with_cursor+limit (0.00s) --- PASS: TestClient_Provisioners/fail (0.00s) === RUN TestClient_ProvisionerKey === RUN TestClient_ProvisionerKey/ok === RUN TestClient_ProvisionerKey/fail --- PASS: TestClient_ProvisionerKey (0.01s) --- PASS: TestClient_ProvisionerKey/ok (0.00s) --- PASS: TestClient_ProvisionerKey/fail (0.00s) === RUN TestClient_Roots === RUN TestClient_Roots/ok === RUN TestClient_Roots/unauthorized === RUN TestClient_Roots/bad-request --- PASS: TestClient_Roots (0.01s) --- PASS: TestClient_Roots/ok (0.00s) --- PASS: TestClient_Roots/unauthorized (0.00s) --- PASS: TestClient_Roots/bad-request (0.00s) === RUN TestClient_Federation === RUN TestClient_Federation/ok === RUN TestClient_Federation/unauthorized --- PASS: TestClient_Federation (0.01s) --- PASS: TestClient_Federation/ok (0.01s) --- PASS: TestClient_Federation/unauthorized (0.00s) === RUN TestClient_SSHRoots === RUN TestClient_SSHRoots/ok === RUN TestClient_SSHRoots/not_found --- PASS: TestClient_SSHRoots (0.01s) --- PASS: TestClient_SSHRoots/ok (0.00s) --- PASS: TestClient_SSHRoots/not_found (0.00s) === RUN Test_parseEndpoint === RUN Test_parseEndpoint/ok === RUN Test_parseEndpoint/ok_no_scheme === RUN Test_parseEndpoint/ok_only_host === RUN Test_parseEndpoint/ok_no_bars === RUN Test_parseEndpoint/ok_schema,_host_and_path === RUN Test_parseEndpoint/ok_no_bars_with_path === RUN Test_parseEndpoint/ok_host_and_path === RUN Test_parseEndpoint/ok_host_and_port === RUN Test_parseEndpoint/ok_host,_path_and_port === RUN Test_parseEndpoint/fail_bad_url === RUN Test_parseEndpoint/fail_no_host --- PASS: Test_parseEndpoint (0.00s) --- PASS: Test_parseEndpoint/ok (0.00s) --- PASS: Test_parseEndpoint/ok_no_scheme (0.00s) --- PASS: Test_parseEndpoint/ok_only_host (0.00s) --- PASS: Test_parseEndpoint/ok_no_bars (0.00s) --- PASS: Test_parseEndpoint/ok_schema,_host_and_path (0.00s) --- PASS: Test_parseEndpoint/ok_no_bars_with_path (0.00s) --- PASS: Test_parseEndpoint/ok_host_and_path (0.00s) --- PASS: Test_parseEndpoint/ok_host_and_port (0.00s) --- PASS: Test_parseEndpoint/ok_host,_path_and_port (0.00s) --- PASS: Test_parseEndpoint/fail_bad_url (0.00s) --- PASS: Test_parseEndpoint/fail_no_host (0.00s) === RUN TestClient_RootFingerprint === RUN TestClient_RootFingerprint/ok === RUN TestClient_RootFingerprint/ok_with_error === RUN TestClient_RootFingerprint/fail --- PASS: TestClient_RootFingerprint (0.15s) --- PASS: TestClient_RootFingerprint/ok (0.06s) --- PASS: TestClient_RootFingerprint/ok_with_error (0.08s) --- PASS: TestClient_RootFingerprint/fail (0.00s) === RUN TestClient_RootFingerprintWithServer --- PASS: TestClient_RootFingerprintWithServer (0.10s) === RUN TestClient_SSHBastion === RUN TestClient_SSHBastion/ok === RUN TestClient_SSHBastion/bad-response === RUN TestClient_SSHBastion/bad-request --- PASS: TestClient_SSHBastion (0.01s) --- PASS: TestClient_SSHBastion/ok (0.00s) --- PASS: TestClient_SSHBastion/bad-response (0.00s) --- PASS: TestClient_SSHBastion/bad-request (0.00s) === RUN TestClient_GetCaURL === RUN TestClient_GetCaURL/ok === RUN TestClient_GetCaURL/ok_no_schema === RUN TestClient_GetCaURL/ok_with_port === RUN TestClient_GetCaURL/ok_with_version --- PASS: TestClient_GetCaURL (0.00s) --- PASS: TestClient_GetCaURL/ok (0.00s) --- PASS: TestClient_GetCaURL/ok_no_schema (0.00s) --- PASS: TestClient_GetCaURL/ok_with_port (0.00s) --- PASS: TestClient_GetCaURL/ok_with_version (0.00s) === RUN TestNewProvisioner === RUN TestNewProvisioner/ok === RUN TestNewProvisioner/ok-by-name === RUN TestNewProvisioner/ok-with-bundle === RUN TestNewProvisioner/ok-with-fingerprint === RUN TestNewProvisioner/fail-bad-kid === RUN TestNewProvisioner/fail-empty-name === RUN TestNewProvisioner/fail-bad-name === RUN TestNewProvisioner/fail-by-password === RUN TestNewProvisioner/fail-by-password-no-kid === RUN TestNewProvisioner/fail-bad-certificate 2023/01/26 03:30:28 http: TLS handshake error from 127.0.0.1:55146: remote error: tls: bad certificate === RUN TestNewProvisioner/fail-not-found-certificate --- PASS: TestNewProvisioner (19.95s) --- PASS: TestNewProvisioner/ok (2.16s) --- PASS: TestNewProvisioner/ok-by-name (3.83s) --- PASS: TestNewProvisioner/ok-with-bundle (2.82s) --- PASS: TestNewProvisioner/ok-with-fingerprint (2.76s) --- PASS: TestNewProvisioner/fail-bad-kid (0.07s) --- PASS: TestNewProvisioner/fail-empty-name (0.05s) --- PASS: TestNewProvisioner/fail-bad-name (0.08s) --- PASS: TestNewProvisioner/fail-by-password (2.61s) --- PASS: TestNewProvisioner/fail-by-password-no-kid (2.85s) --- PASS: TestNewProvisioner/fail-bad-certificate (0.03s) --- PASS: TestNewProvisioner/fail-not-found-certificate (0.00s) === RUN TestProvisioner_Getters --- PASS: TestProvisioner_Getters (2.41s) === RUN TestProvisioner_Token === RUN TestProvisioner_Token/ok === RUN TestProvisioner_Token/ok-with-san === RUN TestProvisioner_Token/ok-with-sans === RUN TestProvisioner_Token/fail-no-subject === RUN TestProvisioner_Token/fail-no-key --- PASS: TestProvisioner_Token (2.64s) --- PASS: TestProvisioner_Token/ok (0.02s) --- PASS: TestProvisioner_Token/ok-with-san (0.02s) --- PASS: TestProvisioner_Token/ok-with-sans (0.01s) --- PASS: TestProvisioner_Token/fail-no-subject (0.00s) --- PASS: TestProvisioner_Token/fail-no-key (0.00s) === RUN TestProvisioner_IPv6Token === RUN TestProvisioner_IPv6Token/ok === RUN TestProvisioner_IPv6Token/ok-with-san === RUN TestProvisioner_IPv6Token/ok-with-sans === RUN TestProvisioner_IPv6Token/fail-no-subject === RUN TestProvisioner_IPv6Token/fail-no-key --- PASS: TestProvisioner_IPv6Token (2.39s) --- PASS: TestProvisioner_IPv6Token/ok (0.02s) --- PASS: TestProvisioner_IPv6Token/ok-with-san (0.01s) --- PASS: TestProvisioner_IPv6Token/ok-with-sans (0.01s) --- PASS: TestProvisioner_IPv6Token/fail-no-subject (0.00s) --- PASS: TestProvisioner_IPv6Token/fail-no-key (0.00s) === RUN TestProvisioner_SSHToken === RUN TestProvisioner_SSHToken/ok === RUN TestProvisioner_SSHToken/ok_host === RUN TestProvisioner_SSHToken/ok_multiple_principals === RUN TestProvisioner_SSHToken/fail-no-subject === RUN TestProvisioner_SSHToken/fail-no-key --- PASS: TestProvisioner_SSHToken (2.93s) --- PASS: TestProvisioner_SSHToken/ok (0.02s) --- PASS: TestProvisioner_SSHToken/ok_host (0.03s) --- PASS: TestProvisioner_SSHToken/ok_multiple_principals (0.03s) --- PASS: TestProvisioner_SSHToken/fail-no-subject (0.00s) --- PASS: TestProvisioner_SSHToken/fail-no-key (0.00s) === RUN Test_newTLSOptionCtx === RUN Test_newTLSOptionCtx/ok --- PASS: Test_newTLSOptionCtx (0.00s) --- PASS: Test_newTLSOptionCtx/ok (0.00s) === RUN TestTLSOptionCtx_apply === RUN TestTLSOptionCtx_apply/ok === RUN TestTLSOptionCtx_apply/ok#01 === RUN TestTLSOptionCtx_apply/fail --- PASS: TestTLSOptionCtx_apply (0.00s) --- PASS: TestTLSOptionCtx_apply/ok (0.00s) --- PASS: TestTLSOptionCtx_apply/ok#01 (0.00s) --- PASS: TestTLSOptionCtx_apply/fail (0.00s) === RUN TestRequireAndVerifyClientCert === RUN TestRequireAndVerifyClientCert/ok --- PASS: TestRequireAndVerifyClientCert (0.00s) --- PASS: TestRequireAndVerifyClientCert/ok (0.00s) === RUN TestVerifyClientCertIfGiven === RUN TestVerifyClientCertIfGiven/ok --- PASS: TestVerifyClientCertIfGiven (0.00s) --- PASS: TestVerifyClientCertIfGiven/ok (0.00s) === RUN TestAddRootCA === RUN TestAddRootCA/ok --- PASS: TestAddRootCA (0.00s) --- PASS: TestAddRootCA/ok (0.00s) === RUN TestAddClientCA === RUN TestAddClientCA/ok --- PASS: TestAddClientCA (0.00s) --- PASS: TestAddClientCA/ok (0.00s) === RUN TestAddRootsToRootCAs === RUN TestAddRootsToRootCAs/ok === RUN TestAddRootsToRootCAs/fail 2023/01/26 03:30:39 http: TLS handshake error from 127.0.0.1:35794: remote error: tls: bad certificate --- PASS: TestAddRootsToRootCAs (0.11s) --- PASS: TestAddRootsToRootCAs/ok (0.03s) --- PASS: TestAddRootsToRootCAs/fail (0.02s) === RUN TestAddRootsToClientCAs === RUN TestAddRootsToClientCAs/ok === RUN TestAddRootsToClientCAs/fail 2023/01/26 03:30:39 http: TLS handshake error from 127.0.0.1:43434: remote error: tls: bad certificate --- PASS: TestAddRootsToClientCAs (0.12s) --- PASS: TestAddRootsToClientCAs/ok (0.04s) --- PASS: TestAddRootsToClientCAs/fail (0.02s) === RUN TestAddFederationToRootCAs === RUN TestAddFederationToRootCAs/ok === RUN TestAddFederationToRootCAs/fail 2023/01/26 03:30:39 http: TLS handshake error from 127.0.0.1:46180: remote error: tls: bad certificate --- PASS: TestAddFederationToRootCAs (0.12s) --- PASS: TestAddFederationToRootCAs/ok (0.04s) --- PASS: TestAddFederationToRootCAs/fail (0.04s) === RUN TestAddFederationToClientCAs === RUN TestAddFederationToClientCAs/ok === RUN TestAddFederationToClientCAs/fail 2023/01/26 03:30:39 http: TLS handshake error from 127.0.0.1:43642: remote error: tls: bad certificate --- PASS: TestAddFederationToClientCAs (0.09s) --- PASS: TestAddFederationToClientCAs/ok (0.03s) --- PASS: TestAddFederationToClientCAs/fail (0.02s) === RUN TestAddRootsToCAs === RUN TestAddRootsToCAs/ok === RUN TestAddRootsToCAs/fail 2023/01/26 03:30:39 http: TLS handshake error from 127.0.0.1:40878: remote error: tls: bad certificate --- PASS: TestAddRootsToCAs (0.07s) --- PASS: TestAddRootsToCAs/ok (0.03s) --- PASS: TestAddRootsToCAs/fail (0.02s) === RUN TestAddFederationToCAs === RUN TestAddFederationToCAs/ok === RUN TestAddFederationToCAs/fail 2023/01/26 03:30:39 http: TLS handshake error from 127.0.0.1:33760: remote error: tls: bad certificate --- PASS: TestAddFederationToCAs (0.08s) --- PASS: TestAddFederationToCAs/ok (0.03s) --- PASS: TestAddFederationToCAs/fail (0.02s) === RUN TestClient_GetServerTLSConfig_http === RUN TestClient_GetServerTLSConfig_http/with_transport 2023/01/26 03:30:45 http: panic serving 127.0.0.1:50002: authority is not in the context goroutine 4479 [running]: net/http.(*conn).serve.func1() /usr/lib/go/src/net/http/server.go:1850 +0xb8 panic({0xaa3dc0, 0xe25460}) /usr/lib/go/src/runtime/panic.go:890 +0x234 github.com/smallstep/certificates/authority.MustFromContext({0xe32ab0?, 0x3f6c73db30?}) /build/step-ca/src/authority/authority.go:201 +0x84 github.com/smallstep/certificates/api.glob..func1({0xe32ab0?, 0x3f6c73db30?}) /build/step-ca/src/api/api.go:58 +0x38 github.com/smallstep/certificates/api.Sign({0xe317e8, 0x3f6c7e6000}, 0x3f6c5bf900) /build/step-ca/src/api/sign.go:72 +0x1e8 net/http.HandlerFunc.ServeHTTP(0xaf6200?, {0xe317e8?, 0x3f6c7e6000?}, 0x3f6c1e4c65?) /usr/lib/go/src/net/http/server.go:2109 +0x5c github.com/go-chi/chi.(*Mux).routeHTTP(0x3f6c754c60, {0xe317e8, 0x3f6c7e6000}, 0x3f6c5bf900) /build/go/pkg/mod/github.com/go-chi/chi@v4.1.2+incompatible/mux.go:431 +0x22c net/http.HandlerFunc.ServeHTTP(0x3f6c05ec00?, {0xe317e8?, 0x3f6c7e6000?}, 0xf8?) /usr/lib/go/src/net/http/server.go:2109 +0x5c github.com/go-chi/chi/middleware.GetHead.func1({0xe317e8?, 0x3f6c7e6000?}, 0x1554c01?) /build/go/pkg/mod/github.com/go-chi/chi@v4.1.2+incompatible/middleware/get_head.go:37 +0x230 net/http.HandlerFunc.ServeHTTP(0xe32a08?, {0xe317e8?, 0x3f6c7e6000?}, 0x1554cd0?) /usr/lib/go/src/net/http/server.go:2109 +0x5c github.com/go-chi/chi.(*Mux).ServeHTTP(0x3f6c754c60, {0xe317e8, 0x3f6c7e6000}, 0x3f6c5bf800) /build/go/pkg/mod/github.com/go-chi/chi@v4.1.2+incompatible/mux.go:86 +0x298 net/http.serverHandler.ServeHTTP({0xe2d8d8?}, {0xe317e8, 0x3f6c7e6000}, 0x3f6c5bf800) /usr/lib/go/src/net/http/server.go:2947 +0x2e8 net/http.(*conn).serve(0x3f6c35dd60, {0xe32ab0, 0x3f6c73ce10}) /usr/lib/go/src/net/http/server.go:1991 +0x538 created by net/http.(*Server).Serve /usr/lib/go/src/net/http/server.go:3102 +0x44c --- FAIL: TestClient_GetServerTLSConfig_http (6.05s) --- FAIL: TestClient_GetServerTLSConfig_http/with_transport (3.21s) panic: client POST https://127.0.0.1:35943/sign failed: EOF [recovered] panic: client POST https://127.0.0.1:35943/sign failed: EOF goroutine 4341 [running]: testing.tRunner.func1.2({0xb049c0, 0x3f6ca04120}) /usr/lib/go/src/testing/testing.go:1396 +0x1e0 testing.tRunner.func1() /usr/lib/go/src/testing/testing.go:1399 +0x2e4 panic({0xb049c0, 0x3f6ca04120}) /usr/lib/go/src/runtime/panic.go:884 +0x1d8 github.com/smallstep/certificates/ca.signDuration(0x3f6c2811f0, {0xc6ee93?, 0x131e490?}, 0x0) /build/step-ca/src/ca/tls_test.go:112 +0x1c0 github.com/smallstep/certificates/ca.sign({0xc6ee93, 0xb}) /build/step-ca/src/ca/tls_test.go:92 +0x88 github.com/smallstep/certificates/ca.TestClient_GetServerTLSConfig_http.func5(0xe32a78?) /build/step-ca/src/ca/tls_test.go:214 +0x44 testing.tRunner(0x3f6c9411e0, 0x3f6c15c100) /usr/lib/go/src/testing/testing.go:1446 +0x11c created by testing.(*T).Run /usr/lib/go/src/testing/testing.go:1493 +0x338 FAIL github.com/smallstep/certificates/ca 116.322s === RUN TestClient 2023/01/26 03:27:26 http: TLS handshake error from 127.0.0.1:59480: remote error: tls: bad certificate --- PASS: TestClient (0.22s) === RUN TestClient_ResolveReference === RUN TestClient_ResolveReference/ok === RUN TestClient_ResolveReference/ok#01 === RUN TestClient_ResolveReference/ok#02 --- PASS: TestClient_ResolveReference (0.00s) --- PASS: TestClient_ResolveReference/ok (0.00s) --- PASS: TestClient_ResolveReference/ok#01 (0.00s) --- PASS: TestClient_ResolveReference/ok#02 (0.00s) === RUN TestLoadClient === RUN TestLoadClient/ok === RUN TestLoadClient/fail_identity === RUN TestLoadClient/fail_identity#01 === RUN TestLoadClient/fail_defaults === RUN TestLoadClient/fail_defaults#01 === RUN TestLoadClient/fail_ca === RUN TestLoadClient/fail_root === RUN TestLoadClient/fail_type --- PASS: TestLoadClient (0.02s) --- PASS: TestLoadClient/ok (0.00s) --- PASS: TestLoadClient/fail_identity (0.00s) --- PASS: TestLoadClient/fail_identity#01 (0.00s) --- PASS: TestLoadClient/fail_defaults (0.00s) --- PASS: TestLoadClient/fail_defaults#01 (0.00s) --- PASS: TestLoadClient/fail_ca (0.00s) --- PASS: TestLoadClient/fail_root (0.00s) --- PASS: TestLoadClient/fail_type (0.00s) === RUN Test_defaultsConfig_Validate === RUN Test_defaultsConfig_Validate/ok === RUN Test_defaultsConfig_Validate/fail_ca-url === RUN Test_defaultsConfig_Validate/fail_root --- PASS: Test_defaultsConfig_Validate (0.00s) --- PASS: Test_defaultsConfig_Validate/ok (0.00s) --- PASS: Test_defaultsConfig_Validate/fail_ca-url (0.00s) --- PASS: Test_defaultsConfig_Validate/fail_root (0.00s) === RUN TestLoadDefaultIdentity === RUN TestLoadDefaultIdentity/ok === RUN TestLoadDefaultIdentity/fail_read === RUN TestLoadDefaultIdentity/fail_unmarshal --- PASS: TestLoadDefaultIdentity (0.00s) --- PASS: TestLoadDefaultIdentity/ok (0.00s) --- PASS: TestLoadDefaultIdentity/fail_read (0.00s) --- PASS: TestLoadDefaultIdentity/fail_unmarshal (0.00s) === RUN TestIdentity_Kind === RUN TestIdentity_Kind/disabled === RUN TestIdentity_Kind/mutualTLS === RUN TestIdentity_Kind/tunnelTLS === RUN TestIdentity_Kind/unknown --- PASS: TestIdentity_Kind (0.00s) --- PASS: TestIdentity_Kind/disabled (0.00s) --- PASS: TestIdentity_Kind/mutualTLS (0.00s) --- PASS: TestIdentity_Kind/tunnelTLS (0.00s) --- PASS: TestIdentity_Kind/unknown (0.00s) === RUN TestIdentity_Validate === RUN TestIdentity_Validate/ok_mTLS === RUN TestIdentity_Validate/ok_tTLS === RUN TestIdentity_Validate/ok_disabled === RUN TestIdentity_Validate/fail_type === RUN TestIdentity_Validate/fail_certificate === RUN TestIdentity_Validate/fail_key === RUN TestIdentity_Validate/fail_key#01 === RUN TestIdentity_Validate/fail_missing_certificate === RUN TestIdentity_Validate/fail_missing_certificate#01 === RUN TestIdentity_Validate/fail_missing_key === RUN TestIdentity_Validate/fail_missing_key#01 === RUN TestIdentity_Validate/fail_host === RUN TestIdentity_Validate/fail_root --- PASS: TestIdentity_Validate (0.00s) --- PASS: TestIdentity_Validate/ok_mTLS (0.00s) --- PASS: TestIdentity_Validate/ok_tTLS (0.00s) --- PASS: TestIdentity_Validate/ok_disabled (0.00s) --- PASS: TestIdentity_Validate/fail_type (0.00s) --- PASS: TestIdentity_Validate/fail_certificate (0.00s) --- PASS: TestIdentity_Validate/fail_key (0.00s) --- PASS: TestIdentity_Validate/fail_key#01 (0.00s) --- PASS: TestIdentity_Validate/fail_missing_certificate (0.00s) --- PASS: TestIdentity_Validate/fail_missing_certificate#01 (0.00s) --- PASS: TestIdentity_Validate/fail_missing_key (0.00s) --- PASS: TestIdentity_Validate/fail_missing_key#01 (0.00s) --- PASS: TestIdentity_Validate/fail_host (0.00s) --- PASS: TestIdentity_Validate/fail_root (0.00s) === RUN TestIdentity_TLSCertificate === RUN TestIdentity_TLSCertificate/ok_mTLS === RUN TestIdentity_TLSCertificate/ok_tTLS === RUN TestIdentity_TLSCertificate/ok_disabled === RUN TestIdentity_TLSCertificate/fail_type === RUN TestIdentity_TLSCertificate/fail_certificate === RUN TestIdentity_TLSCertificate/fail_not_after === RUN TestIdentity_TLSCertificate/fail_not_before --- PASS: TestIdentity_TLSCertificate (0.03s) --- PASS: TestIdentity_TLSCertificate/ok_mTLS (0.01s) --- PASS: TestIdentity_TLSCertificate/ok_tTLS (0.01s) --- PASS: TestIdentity_TLSCertificate/ok_disabled (0.00s) --- PASS: TestIdentity_TLSCertificate/fail_type (0.00s) --- PASS: TestIdentity_TLSCertificate/fail_certificate (0.01s) --- PASS: TestIdentity_TLSCertificate/fail_not_after (0.01s) --- PASS: TestIdentity_TLSCertificate/fail_not_before (0.00s) === RUN Test_fileExists === RUN Test_fileExists/ok === RUN Test_fileExists/missing === RUN Test_fileExists/directory --- PASS: Test_fileExists (0.00s) --- PASS: Test_fileExists/ok (0.00s) --- PASS: Test_fileExists/missing (0.00s) --- PASS: Test_fileExists/directory (0.00s) === RUN TestWriteDefaultIdentity === RUN TestWriteDefaultIdentity/ok === RUN TestWriteDefaultIdentity/fail_mkdir_config === RUN TestWriteDefaultIdentity/fail_mkdir_identity === RUN TestWriteDefaultIdentity/fail_certificate === RUN TestWriteDefaultIdentity/fail_key === RUN TestWriteDefaultIdentity/fail_write_identity --- PASS: TestWriteDefaultIdentity (0.02s) --- PASS: TestWriteDefaultIdentity/ok (0.00s) --- PASS: TestWriteDefaultIdentity/fail_mkdir_config (0.00s) --- PASS: TestWriteDefaultIdentity/fail_mkdir_identity (0.00s) --- PASS: TestWriteDefaultIdentity/fail_certificate (0.00s) --- PASS: TestWriteDefaultIdentity/fail_key (0.00s) --- PASS: TestWriteDefaultIdentity/fail_write_identity (0.00s) === RUN TestIdentity_GetClientCertificateFunc === RUN TestIdentity_GetClientCertificateFunc/ok_mTLS === RUN TestIdentity_GetClientCertificateFunc/ok_tTLS === RUN TestIdentity_GetClientCertificateFunc/fail_missing_cert === RUN TestIdentity_GetClientCertificateFunc/fail_missing_key --- PASS: TestIdentity_GetClientCertificateFunc (0.01s) --- PASS: TestIdentity_GetClientCertificateFunc/ok_mTLS (0.00s) --- PASS: TestIdentity_GetClientCertificateFunc/ok_tTLS (0.00s) --- PASS: TestIdentity_GetClientCertificateFunc/fail_missing_cert (0.00s) --- PASS: TestIdentity_GetClientCertificateFunc/fail_missing_key (0.00s) === RUN TestIdentity_GetCertPool === RUN TestIdentity_GetCertPool/ok === RUN TestIdentity_GetCertPool/ok_nil === RUN TestIdentity_GetCertPool/fail_missing === RUN TestIdentity_GetCertPool/fail_no_cert --- PASS: TestIdentity_GetCertPool (0.00s) --- PASS: TestIdentity_GetCertPool/ok (0.00s) --- PASS: TestIdentity_GetCertPool/ok_nil (0.00s) --- PASS: TestIdentity_GetCertPool/fail_missing (0.00s) --- PASS: TestIdentity_GetCertPool/fail_no_cert (0.00s) === RUN TestIdentity_Renew === RUN TestIdentity_Renew/ok === RUN TestIdentity_Renew/ok_old === RUN TestIdentity_Renew/ok_disabled === RUN TestIdentity_Renew/fail_type === RUN TestIdentity_Renew/fail_renew === RUN TestIdentity_Renew/fail_certificate === RUN TestIdentity_Renew/fail_write_identity --- PASS: TestIdentity_Renew (0.03s) --- PASS: TestIdentity_Renew/ok (0.00s) --- PASS: TestIdentity_Renew/ok_old (0.00s) --- PASS: TestIdentity_Renew/ok_disabled (0.00s) --- PASS: TestIdentity_Renew/fail_type (0.00s) --- PASS: TestIdentity_Renew/fail_renew (0.00s) --- PASS: TestIdentity_Renew/fail_certificate (0.01s) --- PASS: TestIdentity_Renew/fail_write_identity (0.01s) PASS ok github.com/smallstep/certificates/ca/identity 0.662s === RUN TestNew === RUN TestNew/ok_default === RUN TestNew/ok_softcas === RUN TestNew/ok_SoftCAS === RUN TestNew/fail_empty === RUN TestNew/fail_type === RUN TestNew/fail_load --- PASS: TestNew (0.01s) --- PASS: TestNew/ok_default (0.00s) --- PASS: TestNew/ok_softcas (0.00s) --- PASS: TestNew/ok_SoftCAS (0.00s) --- PASS: TestNew/fail_empty (0.00s) --- PASS: TestNew/fail_type (0.00s) --- PASS: TestNew/fail_load (0.00s) === RUN TestNewCreator === RUN TestNewCreator/ok_empty === RUN TestNewCreator/ok_softcas === RUN TestNewCreator/ok_SoftCAS === RUN TestNewCreator/fail_type === RUN TestNewCreator/fail_no_creator --- PASS: TestNewCreator (0.00s) --- PASS: TestNewCreator/ok_empty (0.00s) --- PASS: TestNewCreator/ok_softcas (0.00s) --- PASS: TestNewCreator/ok_SoftCAS (0.00s) --- PASS: TestNewCreator/fail_type (0.00s) --- PASS: TestNewCreator/fail_no_creator (0.00s) PASS ok github.com/smallstep/certificates/cas 0.115s === RUN TestCreateCertificateAuthorityExtension === RUN TestCreateCertificateAuthorityExtension/ok === RUN TestCreateCertificateAuthorityExtension/ok#01 --- PASS: TestCreateCertificateAuthorityExtension (0.00s) --- PASS: TestCreateCertificateAuthorityExtension/ok (0.00s) --- PASS: TestCreateCertificateAuthorityExtension/ok#01 (0.00s) === RUN TestFindCertificateAuthorityExtension === RUN TestFindCertificateAuthorityExtension/first === RUN TestFindCertificateAuthorityExtension/last === RUN TestFindCertificateAuthorityExtension/fail === RUN TestFindCertificateAuthorityExtension/fail_ExtraExtensions --- PASS: TestFindCertificateAuthorityExtension (0.00s) --- PASS: TestFindCertificateAuthorityExtension/first (0.00s) --- PASS: TestFindCertificateAuthorityExtension/last (0.00s) --- PASS: TestFindCertificateAuthorityExtension/fail (0.00s) --- PASS: TestFindCertificateAuthorityExtension/fail_ExtraExtensions (0.00s) === RUN TestRemoveCertificateAuthorityExtension === RUN TestRemoveCertificateAuthorityExtension/first === RUN TestRemoveCertificateAuthorityExtension/last === RUN TestRemoveCertificateAuthorityExtension/missing === RUN TestRemoveCertificateAuthorityExtension/extensions --- PASS: TestRemoveCertificateAuthorityExtension (0.00s) --- PASS: TestRemoveCertificateAuthorityExtension/first (0.00s) --- PASS: TestRemoveCertificateAuthorityExtension/last (0.00s) --- PASS: TestRemoveCertificateAuthorityExtension/missing (0.00s) --- PASS: TestRemoveCertificateAuthorityExtension/extensions (0.00s) === RUN TestOptions_Validate === RUN TestOptions_Validate/nil === RUN TestOptions_Validate/empty === RUN TestOptions_Validate/SoftCAS === RUN TestOptions_Validate/CloudCAS === RUN TestOptions_Validate/softcas === RUN TestOptions_Validate/CLOUDCAS === RUN TestOptions_Validate/fail --- PASS: TestOptions_Validate (0.00s) --- PASS: TestOptions_Validate/nil (0.00s) --- PASS: TestOptions_Validate/empty (0.00s) --- PASS: TestOptions_Validate/SoftCAS (0.00s) --- PASS: TestOptions_Validate/CloudCAS (0.00s) --- PASS: TestOptions_Validate/softcas (0.00s) --- PASS: TestOptions_Validate/CLOUDCAS (0.00s) --- PASS: TestOptions_Validate/fail (0.00s) === RUN TestOptions_Is === RUN TestOptions_Is/nil === RUN TestOptions_Is/empty === RUN TestOptions_Is/SoftCAS === RUN TestOptions_Is/CloudCAS === RUN TestOptions_Is/softcas === RUN TestOptions_Is/CLOUDCAS === RUN TestOptions_Is/UnknownCAS === RUN TestOptions_Is/fail === RUN TestOptions_Is/fail#01 --- PASS: TestOptions_Is (0.00s) --- PASS: TestOptions_Is/nil (0.00s) --- PASS: TestOptions_Is/empty (0.00s) --- PASS: TestOptions_Is/SoftCAS (0.00s) --- PASS: TestOptions_Is/CloudCAS (0.00s) --- PASS: TestOptions_Is/softcas (0.00s) --- PASS: TestOptions_Is/CLOUDCAS (0.00s) --- PASS: TestOptions_Is/UnknownCAS (0.00s) --- PASS: TestOptions_Is/fail (0.00s) --- PASS: TestOptions_Is/fail#01 (0.00s) === RUN TestRegister === RUN TestRegister/ok &{{0 0} {{map[] true}} map[testcas:0x3f6411a0a0] 0} === RUN TestRegister/error &{{0 0} {{map[testcas:0x3f6411a0a0] true}} map[errorcas:0x3f6411a0a8 testcas:0x3f6411a0a0] 0} --- PASS: TestRegister (0.00s) --- PASS: TestRegister/ok (0.00s) --- PASS: TestRegister/error (0.00s) === RUN TestLoadCertificateAuthorityServiceNewFunc === RUN TestLoadCertificateAuthorityServiceNewFunc/default === RUN TestLoadCertificateAuthorityServiceNewFunc/SoftCAS === RUN TestLoadCertificateAuthorityServiceNewFunc/CloudCAS === RUN TestLoadCertificateAuthorityServiceNewFunc/softcas === RUN TestLoadCertificateAuthorityServiceNewFunc/cloudcas === RUN TestLoadCertificateAuthorityServiceNewFunc/FailCAS --- PASS: TestLoadCertificateAuthorityServiceNewFunc (0.00s) --- PASS: TestLoadCertificateAuthorityServiceNewFunc/default (0.00s) --- PASS: TestLoadCertificateAuthorityServiceNewFunc/SoftCAS (0.00s) --- PASS: TestLoadCertificateAuthorityServiceNewFunc/CloudCAS (0.00s) --- PASS: TestLoadCertificateAuthorityServiceNewFunc/softcas (0.00s) --- PASS: TestLoadCertificateAuthorityServiceNewFunc/cloudcas (0.00s) --- PASS: TestLoadCertificateAuthorityServiceNewFunc/FailCAS (0.00s) === RUN TestType_String === RUN TestType_String/default === RUN TestType_String/SoftCAS === RUN TestType_String/CloudCAS === RUN TestType_String/UnknownCAS --- PASS: TestType_String (0.00s) --- PASS: TestType_String/default (0.00s) --- PASS: TestType_String/SoftCAS (0.00s) --- PASS: TestType_String/CloudCAS (0.00s) --- PASS: TestType_String/UnknownCAS (0.00s) === RUN TestNotImplementedError_Error === RUN TestNotImplementedError_Error/default === RUN TestNotImplementedError_Error/with_message --- PASS: TestNotImplementedError_Error (0.00s) --- PASS: TestNotImplementedError_Error/default (0.00s) --- PASS: TestNotImplementedError_Error/with_message (0.00s) === RUN TestNotImplementedError_StatusCode === RUN TestNotImplementedError_StatusCode/default === RUN TestNotImplementedError_StatusCode/with_message --- PASS: TestNotImplementedError_StatusCode (0.00s) --- PASS: TestNotImplementedError_StatusCode/default (0.00s) --- PASS: TestNotImplementedError_StatusCode/with_message (0.00s) === RUN TestValidationError_Error === RUN TestValidationError_Error/default === RUN TestValidationError_Error/with_message --- PASS: TestValidationError_Error (0.00s) --- PASS: TestValidationError_Error/default (0.00s) --- PASS: TestValidationError_Error/with_message (0.00s) === RUN TestValidationError_StatusCode === RUN TestValidationError_StatusCode/default === RUN TestValidationError_StatusCode/with_message --- PASS: TestValidationError_StatusCode (0.00s) --- PASS: TestValidationError_StatusCode/default (0.00s) --- PASS: TestValidationError_StatusCode/with_message (0.00s) PASS ok github.com/smallstep/certificates/cas/apiv1 0.106s === RUN Test_createCertificateConfig === RUN Test_createCertificateConfig/ok === RUN Test_createCertificateConfig/fail --- PASS: Test_createCertificateConfig (0.01s) --- PASS: Test_createCertificateConfig/ok (0.00s) --- PASS: Test_createCertificateConfig/fail (0.00s) === RUN Test_createPublicKey === RUN Test_createPublicKey/ok_ec === RUN Test_createPublicKey/ok_rsa === RUN Test_createPublicKey/fail_ed25519 === RUN Test_createPublicKey/fail_ec_marshal --- PASS: Test_createPublicKey (0.04s) --- PASS: Test_createPublicKey/ok_ec (0.00s) --- PASS: Test_createPublicKey/ok_rsa (0.00s) --- PASS: Test_createPublicKey/fail_ed25519 (0.00s) --- PASS: Test_createPublicKey/fail_ec_marshal (0.00s) === RUN Test_createSubject === RUN Test_createSubject/ok_empty === RUN Test_createSubject/ok_all --- PASS: Test_createSubject (0.00s) --- PASS: Test_createSubject/ok_empty (0.00s) --- PASS: Test_createSubject/ok_all (0.00s) === RUN Test_createSubjectAlternativeNames === RUN Test_createSubjectAlternativeNames/ok_empty === RUN Test_createSubjectAlternativeNames/ok_dns === RUN Test_createSubjectAlternativeNames/ok_emails === RUN Test_createSubjectAlternativeNames/ok_ips === RUN Test_createSubjectAlternativeNames/ok_uris === RUN Test_createSubjectAlternativeNames/ok_extensions === RUN Test_createSubjectAlternativeNames/ok_extra_extensions --- PASS: Test_createSubjectAlternativeNames (0.01s) --- PASS: Test_createSubjectAlternativeNames/ok_empty (0.00s) --- PASS: Test_createSubjectAlternativeNames/ok_dns (0.00s) --- PASS: Test_createSubjectAlternativeNames/ok_emails (0.00s) --- PASS: Test_createSubjectAlternativeNames/ok_ips (0.00s) --- PASS: Test_createSubjectAlternativeNames/ok_uris (0.00s) --- PASS: Test_createSubjectAlternativeNames/ok_extensions (0.00s) --- PASS: Test_createSubjectAlternativeNames/ok_extra_extensions (0.00s) === RUN Test_createX509Parameters === RUN Test_createX509Parameters/keyUsageDigitalSignature === RUN Test_createX509Parameters/KeyUsageDigitalSignature === RUN Test_createX509Parameters/KeyUsageContentCommitment === RUN Test_createX509Parameters/KeyUsageKeyEncipherment === RUN Test_createX509Parameters/KeyUsageDataEncipherment === RUN Test_createX509Parameters/KeyUsageKeyAgreement === RUN Test_createX509Parameters/KeyUsageCertSign === RUN Test_createX509Parameters/KeyUsageCRLSign === RUN Test_createX509Parameters/KeyUsageEncipherOnly === RUN Test_createX509Parameters/KeyUsageDecipherOnly === RUN Test_createX509Parameters/ExtKeyUsageAny === RUN Test_createX509Parameters/ExtKeyUsageServerAuth === RUN Test_createX509Parameters/ExtKeyUsageClientAuth === RUN Test_createX509Parameters/ExtKeyUsageCodeSigning === RUN Test_createX509Parameters/ExtKeyUsageEmailProtection === RUN Test_createX509Parameters/ExtKeyUsageIPSECEndSystem === RUN Test_createX509Parameters/ExtKeyUsageIPSECTunnel === RUN Test_createX509Parameters/ExtKeyUsageIPSECUser === RUN Test_createX509Parameters/ExtKeyUsageTimeStamping === RUN Test_createX509Parameters/ExtKeyUsageOCSPSigning === RUN Test_createX509Parameters/ExtKeyUsageMicrosoftServerGatedCrypto === RUN Test_createX509Parameters/ExtKeyUsageNetscapeServerGatedCrypto === RUN Test_createX509Parameters/ExtKeyUsageMicrosoftCommercialCodeSigning === RUN Test_createX509Parameters/ExtKeyUsageMicrosoftKernelCodeSigning === RUN Test_createX509Parameters/UnknownExtKeyUsage === RUN Test_createX509Parameters/BasicConstraintsCAMax0 === RUN Test_createX509Parameters/BasicConstraintsCAMax1 === RUN Test_createX509Parameters/BasicConstraintsCANoMax === RUN Test_createX509Parameters/BasicConstraintsCANoMax0 === RUN Test_createX509Parameters/BasicConstraintsNoCA === RUN Test_createX509Parameters/BasicConstraintsNoValid === RUN Test_createX509Parameters/PolicyIdentifiers === RUN Test_createX509Parameters/OCPServers === RUN Test_createX509Parameters/Extensions --- PASS: Test_createX509Parameters (0.02s) --- PASS: Test_createX509Parameters/keyUsageDigitalSignature (0.00s) --- PASS: Test_createX509Parameters/KeyUsageDigitalSignature (0.00s) --- PASS: Test_createX509Parameters/KeyUsageContentCommitment (0.00s) --- PASS: Test_createX509Parameters/KeyUsageKeyEncipherment (0.00s) --- PASS: Test_createX509Parameters/KeyUsageDataEncipherment (0.00s) --- PASS: Test_createX509Parameters/KeyUsageKeyAgreement (0.00s) --- PASS: Test_createX509Parameters/KeyUsageCertSign (0.00s) --- PASS: Test_createX509Parameters/KeyUsageCRLSign (0.00s) --- PASS: Test_createX509Parameters/KeyUsageEncipherOnly (0.00s) --- PASS: Test_createX509Parameters/KeyUsageDecipherOnly (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageAny (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageServerAuth (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageClientAuth (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageCodeSigning (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageEmailProtection (0.01s) --- PASS: Test_createX509Parameters/ExtKeyUsageIPSECEndSystem (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageIPSECTunnel (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageIPSECUser (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageTimeStamping (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageOCSPSigning (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageMicrosoftServerGatedCrypto (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageNetscapeServerGatedCrypto (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageMicrosoftCommercialCodeSigning (0.00s) --- PASS: Test_createX509Parameters/ExtKeyUsageMicrosoftKernelCodeSigning (0.00s) --- PASS: Test_createX509Parameters/UnknownExtKeyUsage (0.00s) --- PASS: Test_createX509Parameters/BasicConstraintsCAMax0 (0.00s) --- PASS: Test_createX509Parameters/BasicConstraintsCAMax1 (0.00s) --- PASS: Test_createX509Parameters/BasicConstraintsCANoMax (0.00s) --- PASS: Test_createX509Parameters/BasicConstraintsCANoMax0 (0.00s) --- PASS: Test_createX509Parameters/BasicConstraintsNoCA (0.00s) --- PASS: Test_createX509Parameters/BasicConstraintsNoValid (0.00s) --- PASS: Test_createX509Parameters/PolicyIdentifiers (0.00s) --- PASS: Test_createX509Parameters/OCPServers (0.00s) --- PASS: Test_createX509Parameters/Extensions (0.00s) === RUN Test_isExtraExtension === RUN Test_isExtraExtension/oidExtensionSubjectKeyID === RUN Test_isExtraExtension/oidExtensionKeyUsage === RUN Test_isExtraExtension/oidExtensionExtendedKeyUsage === RUN Test_isExtraExtension/oidExtensionAuthorityKeyID === RUN Test_isExtraExtension/oidExtensionBasicConstraints === RUN Test_isExtraExtension/oidExtensionSubjectAltName === RUN Test_isExtraExtension/oidExtensionCRLDistributionPoints === RUN Test_isExtraExtension/oidExtensionCertificatePolicies === RUN Test_isExtraExtension/oidExtensionAuthorityInfoAccess === RUN Test_isExtraExtension/other --- PASS: Test_isExtraExtension (0.00s) --- PASS: Test_isExtraExtension/oidExtensionSubjectKeyID (0.00s) --- PASS: Test_isExtraExtension/oidExtensionKeyUsage (0.00s) --- PASS: Test_isExtraExtension/oidExtensionExtendedKeyUsage (0.00s) --- PASS: Test_isExtraExtension/oidExtensionAuthorityKeyID (0.00s) --- PASS: Test_isExtraExtension/oidExtensionBasicConstraints (0.00s) --- PASS: Test_isExtraExtension/oidExtensionSubjectAltName (0.00s) --- PASS: Test_isExtraExtension/oidExtensionCRLDistributionPoints (0.00s) --- PASS: Test_isExtraExtension/oidExtensionCertificatePolicies (0.00s) --- PASS: Test_isExtraExtension/oidExtensionAuthorityInfoAccess (0.00s) --- PASS: Test_isExtraExtension/other (0.00s) === RUN Test_createKeyVersionSpec === RUN Test_createKeyVersionSpec/ok_P256 === RUN Test_createKeyVersionSpec/ok_P256#01 === RUN Test_createKeyVersionSpec/ok_P384 === RUN Test_createKeyVersionSpec/ok_RSA_default === RUN Test_createKeyVersionSpec/ok_RSA_2048 === RUN Test_createKeyVersionSpec/ok_RSA_3072 === RUN Test_createKeyVersionSpec/ok_RSA_4096 === RUN Test_createKeyVersionSpec/ok_RSA-PSS_default === RUN Test_createKeyVersionSpec/ok_RSA-PSS_2048 === RUN Test_createKeyVersionSpec/ok_RSA-PSS_3072 === RUN Test_createKeyVersionSpec/ok_RSA-PSS_4096 === RUN Test_createKeyVersionSpec/fail_Ed25519 === RUN Test_createKeyVersionSpec/fail_RSA_size === RUN Test_createKeyVersionSpec/fail_RSA-PSS_size --- PASS: Test_createKeyVersionSpec (0.00s) --- PASS: Test_createKeyVersionSpec/ok_P256 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_P256#01 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_P384 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA_default (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA_2048 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA_3072 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA_4096 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA-PSS_default (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA-PSS_2048 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA-PSS_3072 (0.00s) --- PASS: Test_createKeyVersionSpec/ok_RSA-PSS_4096 (0.00s) --- PASS: Test_createKeyVersionSpec/fail_Ed25519 (0.00s) --- PASS: Test_createKeyVersionSpec/fail_RSA_size (0.00s) --- PASS: Test_createKeyVersionSpec/fail_RSA-PSS_size (0.00s) === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_authority_and_creator === RUN TestNew/ok_with_credentials === RUN TestNew/ok_creator === RUN TestNew/ok_creator_devops === RUN TestNew/ok_creator_enterprise === RUN TestNew/fail_certificate_authority === RUN TestNew/fail_certificate_authority_regex === RUN TestNew/fail_with_credentials === RUN TestNew/fail_creator_project === RUN TestNew/fail_creator_location === RUN TestNew/fail_caPool --- PASS: TestNew (0.00s) --- PASS: TestNew/ok (0.00s) --- PASS: TestNew/ok_authority_and_creator (0.00s) --- PASS: TestNew/ok_with_credentials (0.00s) --- PASS: TestNew/ok_creator (0.00s) --- PASS: TestNew/ok_creator_devops (0.00s) --- PASS: TestNew/ok_creator_enterprise (0.00s) --- PASS: TestNew/fail_certificate_authority (0.00s) --- PASS: TestNew/fail_certificate_authority_regex (0.00s) --- PASS: TestNew/fail_with_credentials (0.00s) --- PASS: TestNew/fail_creator_project (0.00s) --- PASS: TestNew/fail_creator_location (0.00s) --- PASS: TestNew/fail_caPool (0.00s) === RUN TestNew_register --- PASS: TestNew_register (0.00s) === RUN TestNew_real === RUN TestNew_real/fail_default_credentials === RUN TestNew_real/fail_certificate_authority === RUN TestNew_real/fail_with_credentials --- PASS: TestNew_real (0.21s) --- PASS: TestNew_real/fail_default_credentials (0.21s) --- PASS: TestNew_real/fail_certificate_authority (0.00s) --- PASS: TestNew_real/fail_with_credentials (0.00s) === RUN TestCloudCAS_GetCertificateAuthority === RUN TestCloudCAS_GetCertificateAuthority/ok === RUN TestCloudCAS_GetCertificateAuthority/ok_with_name === RUN TestCloudCAS_GetCertificateAuthority/fail_GetCertificateAuthority === RUN TestCloudCAS_GetCertificateAuthority/fail_bad_root === RUN TestCloudCAS_GetCertificateAuthority/fail_no_pems --- PASS: TestCloudCAS_GetCertificateAuthority (0.00s) --- PASS: TestCloudCAS_GetCertificateAuthority/ok (0.00s) --- PASS: TestCloudCAS_GetCertificateAuthority/ok_with_name (0.00s) --- PASS: TestCloudCAS_GetCertificateAuthority/fail_GetCertificateAuthority (0.00s) --- PASS: TestCloudCAS_GetCertificateAuthority/fail_bad_root (0.00s) --- PASS: TestCloudCAS_GetCertificateAuthority/fail_no_pems (0.00s) === RUN TestCloudCAS_CreateCertificate === RUN TestCloudCAS_CreateCertificate/ok === RUN TestCloudCAS_CreateCertificate/fail_Template === RUN TestCloudCAS_CreateCertificate/fail_Lifetime === RUN TestCloudCAS_CreateCertificate/fail_CreateCertificate === RUN TestCloudCAS_CreateCertificate/fail_Certificate --- PASS: TestCloudCAS_CreateCertificate (0.00s) --- PASS: TestCloudCAS_CreateCertificate/ok (0.00s) --- PASS: TestCloudCAS_CreateCertificate/fail_Template (0.00s) --- PASS: TestCloudCAS_CreateCertificate/fail_Lifetime (0.00s) --- PASS: TestCloudCAS_CreateCertificate/fail_CreateCertificate (0.00s) --- PASS: TestCloudCAS_CreateCertificate/fail_Certificate (0.00s) === RUN TestCloudCAS_createCertificate === RUN TestCloudCAS_createCertificate/ok === RUN TestCloudCAS_createCertificate/fail_CertificateConfig === RUN TestCloudCAS_createCertificate/fail_CreateCertificate === RUN TestCloudCAS_createCertificate/fail_ParseCertificates === RUN TestCloudCAS_createCertificate/fail_create_id --- PASS: TestCloudCAS_createCertificate (0.00s) --- PASS: TestCloudCAS_createCertificate/ok (0.00s) --- PASS: TestCloudCAS_createCertificate/fail_CertificateConfig (0.00s) --- PASS: TestCloudCAS_createCertificate/fail_CreateCertificate (0.00s) --- PASS: TestCloudCAS_createCertificate/fail_ParseCertificates (0.00s) --- PASS: TestCloudCAS_createCertificate/fail_create_id (0.00s) === RUN TestCloudCAS_RenewCertificate === RUN TestCloudCAS_RenewCertificate/ok === RUN TestCloudCAS_RenewCertificate/fail_Template === RUN TestCloudCAS_RenewCertificate/fail_Lifetime === RUN TestCloudCAS_RenewCertificate/fail_CreateCertificate === RUN TestCloudCAS_RenewCertificate/fail_Certificate --- PASS: TestCloudCAS_RenewCertificate (0.00s) --- PASS: TestCloudCAS_RenewCertificate/ok (0.00s) --- PASS: TestCloudCAS_RenewCertificate/fail_Template (0.00s) --- PASS: TestCloudCAS_RenewCertificate/fail_Lifetime (0.00s) --- PASS: TestCloudCAS_RenewCertificate/fail_CreateCertificate (0.00s) --- PASS: TestCloudCAS_RenewCertificate/fail_Certificate (0.00s) === RUN TestCloudCAS_RevokeCertificate === RUN TestCloudCAS_RevokeCertificate/ok === RUN TestCloudCAS_RevokeCertificate/fail_Extension === RUN TestCloudCAS_RevokeCertificate/fail_Extension_Value === RUN TestCloudCAS_RevokeCertificate/fail_Certificate === RUN TestCloudCAS_RevokeCertificate/fail_ReasonCode === RUN TestCloudCAS_RevokeCertificate/fail_ReasonCode_7 === RUN TestCloudCAS_RevokeCertificate/fail_ReasonCode_8 === RUN TestCloudCAS_RevokeCertificate/fail_RevokeCertificate === RUN TestCloudCAS_RevokeCertificate/fail_ParseCertificate --- PASS: TestCloudCAS_RevokeCertificate (0.02s) --- PASS: TestCloudCAS_RevokeCertificate/ok (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_Extension (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_Extension_Value (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_Certificate (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_ReasonCode (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_ReasonCode_7 (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_ReasonCode_8 (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_RevokeCertificate (0.00s) --- PASS: TestCloudCAS_RevokeCertificate/fail_ParseCertificate (0.00s) === RUN Test_createCertificateID === RUN Test_createCertificateID/ok === RUN Test_createCertificateID/fail --- PASS: Test_createCertificateID (0.00s) --- PASS: Test_createCertificateID/ok (0.00s) --- PASS: Test_createCertificateID/fail (0.00s) === RUN Test_parseCertificate === RUN Test_parseCertificate/ok === RUN Test_parseCertificate/ok_intermediate === RUN Test_parseCertificate/fail_pem === RUN Test_parseCertificate/fail_parseCertificate --- PASS: Test_parseCertificate (0.00s) --- PASS: Test_parseCertificate/ok (0.00s) --- PASS: Test_parseCertificate/ok_intermediate (0.00s) --- PASS: Test_parseCertificate/fail_pem (0.00s) --- PASS: Test_parseCertificate/fail_parseCertificate (0.00s) === RUN Test_getCertificateAndChain === RUN Test_getCertificateAndChain/ok === RUN Test_getCertificateAndChain/fail_PemCertificate === RUN Test_getCertificateAndChain/fail_PemCertificateChain --- PASS: Test_getCertificateAndChain (0.00s) --- PASS: Test_getCertificateAndChain/ok (0.00s) --- PASS: Test_getCertificateAndChain/fail_PemCertificate (0.00s) --- PASS: Test_getCertificateAndChain/fail_PemCertificateChain (0.00s) === RUN TestCloudCAS_CreateCertificateAuthority === RUN TestCloudCAS_CreateCertificateAuthority/ok_root === RUN TestCloudCAS_CreateCertificateAuthority/ok_intermediate === RUN TestCloudCAS_CreateCertificateAuthority/ok_intermediate_local_signer === RUN TestCloudCAS_CreateCertificateAuthority/ok_create_key === RUN TestCloudCAS_CreateCertificateAuthority/fail_project === RUN TestCloudCAS_CreateCertificateAuthority/fail_location === RUN TestCloudCAS_CreateCertificateAuthority/fail_caPool === RUN TestCloudCAS_CreateCertificateAuthority/fail_template === RUN TestCloudCAS_CreateCertificateAuthority/fail_lifetime === RUN TestCloudCAS_CreateCertificateAuthority/fail_parent === RUN TestCloudCAS_CreateCertificateAuthority/fail_parent_name === RUN TestCloudCAS_CreateCertificateAuthority/fail_type === RUN TestCloudCAS_CreateCertificateAuthority/fail_create_key === RUN TestCloudCAS_CreateCertificateAuthority/fail_GetCaPool === RUN TestCloudCAS_CreateCertificateAuthority/fail_CreateCaPool === RUN TestCloudCAS_CreateCertificateAuthority/fail_CreateCaPool.Wait === RUN TestCloudCAS_CreateCertificateAuthority/fail_CreateCertificateAuthority === RUN TestCloudCAS_CreateCertificateAuthority/fail_CreateCertificateAuthority.Wait === RUN TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority === RUN TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority.Wait === RUN TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority_intermediate === RUN TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority.Wait_intermediate === RUN TestCloudCAS_CreateCertificateAuthority/fail_FetchCertificateAuthorityCsr === RUN TestCloudCAS_CreateCertificateAuthority/fail_CreateCertificate === RUN TestCloudCAS_CreateCertificateAuthority/fail_ActivateCertificateAuthority === RUN TestCloudCAS_CreateCertificateAuthority/fail_ActivateCertificateAuthority.Wait === RUN TestCloudCAS_CreateCertificateAuthority/fail_x509util.CreateCertificate === RUN TestCloudCAS_CreateCertificateAuthority/fail_parseCertificateRequest --- PASS: TestCloudCAS_CreateCertificateAuthority (0.34s) --- PASS: TestCloudCAS_CreateCertificateAuthority/ok_root (0.02s) --- PASS: TestCloudCAS_CreateCertificateAuthority/ok_intermediate (0.02s) --- PASS: TestCloudCAS_CreateCertificateAuthority/ok_intermediate_local_signer (0.06s) --- PASS: TestCloudCAS_CreateCertificateAuthority/ok_create_key (0.01s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_project (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_location (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_caPool (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_template (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_lifetime (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_parent (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_parent_name (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_type (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_create_key (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_GetCaPool (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_CreateCaPool (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_CreateCaPool.Wait (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_CreateCertificateAuthority (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_CreateCertificateAuthority.Wait (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority (0.02s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority.Wait (0.01s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority_intermediate (0.02s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_EnableCertificateAuthority.Wait_intermediate (0.01s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_FetchCertificateAuthorityCsr (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_CreateCertificate (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_ActivateCertificateAuthority (0.01s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_ActivateCertificateAuthority.Wait (0.00s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_x509util.CreateCertificate (0.01s) --- PASS: TestCloudCAS_CreateCertificateAuthority/fail_parseCertificateRequest (0.00s) === RUN Test_normalizeCertificateAuthorityName === RUN Test_normalizeCertificateAuthorityName/ok === RUN Test_normalizeCertificateAuthorityName/change --- PASS: Test_normalizeCertificateAuthorityName (0.00s) --- PASS: Test_normalizeCertificateAuthorityName/ok (0.00s) --- PASS: Test_normalizeCertificateAuthorityName/change (0.00s) PASS ok github.com/smallstep/certificates/cas/cloudcas 0.850s === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_with_callback === RUN TestNew/fail_no_issuer === RUN TestNew/fail_no_signer --- PASS: TestNew (0.00s) --- PASS: TestNew/ok (0.00s) --- PASS: TestNew/ok_with_callback (0.00s) --- PASS: TestNew/fail_no_issuer (0.00s) --- PASS: TestNew/fail_no_signer (0.00s) === RUN TestNew_register --- PASS: TestNew_register (0.00s) === RUN TestSoftCAS_CreateCertificate === RUN TestSoftCAS_CreateCertificate/ok === RUN TestSoftCAS_CreateCertificate/ok_signature_algorithm === RUN TestSoftCAS_CreateCertificate/ok_with_notBefore === RUN TestSoftCAS_CreateCertificate/ok_with_notBefore+notAfter === RUN TestSoftCAS_CreateCertificate/ok_with_callback === RUN TestSoftCAS_CreateCertificate/fail_template === RUN TestSoftCAS_CreateCertificate/fail_lifetime === RUN TestSoftCAS_CreateCertificate/fail_CreateCertificate === RUN TestSoftCAS_CreateCertificate/fail_with_callback --- PASS: TestSoftCAS_CreateCertificate (0.03s) --- PASS: TestSoftCAS_CreateCertificate/ok (0.00s) --- PASS: TestSoftCAS_CreateCertificate/ok_signature_algorithm (0.01s) --- PASS: TestSoftCAS_CreateCertificate/ok_with_notBefore (0.00s) --- PASS: TestSoftCAS_CreateCertificate/ok_with_notBefore+notAfter (0.00s) --- PASS: TestSoftCAS_CreateCertificate/ok_with_callback (0.01s) --- PASS: TestSoftCAS_CreateCertificate/fail_template (0.00s) --- PASS: TestSoftCAS_CreateCertificate/fail_lifetime (0.00s) --- PASS: TestSoftCAS_CreateCertificate/fail_CreateCertificate (0.00s) --- PASS: TestSoftCAS_CreateCertificate/fail_with_callback (0.00s) === RUN TestSoftCAS_CreateCertificate_pss --- PASS: TestSoftCAS_CreateCertificate_pss (5.53s) === RUN TestSoftCAS_CreateCertificate_ec_rsa --- PASS: TestSoftCAS_CreateCertificate_ec_rsa (5.53s) === RUN TestSoftCAS_RenewCertificate === RUN TestSoftCAS_RenewCertificate/ok === RUN TestSoftCAS_RenewCertificate/ok_signature_algorithm === RUN TestSoftCAS_RenewCertificate/ok_with_callback === RUN TestSoftCAS_RenewCertificate/fail_template === RUN TestSoftCAS_RenewCertificate/fail_lifetime === RUN TestSoftCAS_RenewCertificate/fail_CreateCertificate === RUN TestSoftCAS_RenewCertificate/fail_with_callback --- PASS: TestSoftCAS_RenewCertificate (0.01s) --- PASS: TestSoftCAS_RenewCertificate/ok (0.00s) --- PASS: TestSoftCAS_RenewCertificate/ok_signature_algorithm (0.00s) --- PASS: TestSoftCAS_RenewCertificate/ok_with_callback (0.00s) --- PASS: TestSoftCAS_RenewCertificate/fail_template (0.00s) --- PASS: TestSoftCAS_RenewCertificate/fail_lifetime (0.00s) --- PASS: TestSoftCAS_RenewCertificate/fail_CreateCertificate (0.00s) --- PASS: TestSoftCAS_RenewCertificate/fail_with_callback (0.00s) === RUN TestSoftCAS_RevokeCertificate === RUN TestSoftCAS_RevokeCertificate/ok === RUN TestSoftCAS_RevokeCertificate/ok_no_cert === RUN TestSoftCAS_RevokeCertificate/ok_empty === RUN TestSoftCAS_RevokeCertificate/ok_with_callback === RUN TestSoftCAS_RevokeCertificate/fail_with_callback --- PASS: TestSoftCAS_RevokeCertificate (0.00s) --- PASS: TestSoftCAS_RevokeCertificate/ok (0.00s) --- PASS: TestSoftCAS_RevokeCertificate/ok_no_cert (0.00s) --- PASS: TestSoftCAS_RevokeCertificate/ok_empty (0.00s) --- PASS: TestSoftCAS_RevokeCertificate/ok_with_callback (0.00s) --- PASS: TestSoftCAS_RevokeCertificate/fail_with_callback (0.00s) === RUN Test_now --- PASS: Test_now (0.00s) === RUN TestSoftCAS_CreateCertificateAuthority === RUN TestSoftCAS_CreateCertificateAuthority/ok_root === RUN TestSoftCAS_CreateCertificateAuthority/ok_intermediate === RUN TestSoftCAS_CreateCertificateAuthority/ok_signature_algorithm === RUN TestSoftCAS_CreateCertificateAuthority/ok_createKey === RUN TestSoftCAS_CreateCertificateAuthority/fail_template === RUN TestSoftCAS_CreateCertificateAuthority/fail_lifetime === RUN TestSoftCAS_CreateCertificateAuthority/fail_type === RUN TestSoftCAS_CreateCertificateAuthority/fail_parent === RUN TestSoftCAS_CreateCertificateAuthority/fail_parent.certificate === RUN TestSoftCAS_CreateCertificateAuthority/fail_parent.signer === RUN TestSoftCAS_CreateCertificateAuthority/fail_createKey === RUN TestSoftCAS_CreateCertificateAuthority/fail_createSigner === RUN TestSoftCAS_CreateCertificateAuthority/fail_sign_root === RUN TestSoftCAS_CreateCertificateAuthority/fail_sign_intermediate --- PASS: TestSoftCAS_CreateCertificateAuthority (0.01s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_root (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_intermediate (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_signature_algorithm (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/ok_createKey (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_template (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_lifetime (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_type (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_parent (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_parent.certificate (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_parent.signer (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_createKey (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_createSigner (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_sign_root (0.00s) --- PASS: TestSoftCAS_CreateCertificateAuthority/fail_sign_intermediate (0.00s) === RUN TestSoftCAS_defaultKeyManager === RUN TestSoftCAS_defaultKeyManager/ok_root === RUN TestSoftCAS_defaultKeyManager/ok_intermediate === RUN TestSoftCAS_defaultKeyManager/fail_with_default_key_manager --- PASS: TestSoftCAS_defaultKeyManager (0.01s) --- PASS: TestSoftCAS_defaultKeyManager/ok_root (0.01s) --- PASS: TestSoftCAS_defaultKeyManager/ok_intermediate (0.00s) --- PASS: TestSoftCAS_defaultKeyManager/fail_with_default_key_manager (0.00s) === RUN Test_isRSA === RUN Test_isRSA/SHA256WithRSA === RUN Test_isRSA/SHA384WithRSA === RUN Test_isRSA/SHA512WithRSA === RUN Test_isRSA/SHA256WithRSAPSS === RUN Test_isRSA/SHA384WithRSAPSS === RUN Test_isRSA/SHA512WithRSAPSS === RUN Test_isRSA/ECDSAWithSHA256 === RUN Test_isRSA/ECDSAWithSHA384 === RUN Test_isRSA/ECDSAWithSHA512 === RUN Test_isRSA/PureEd25519 --- PASS: Test_isRSA (0.01s) --- PASS: Test_isRSA/SHA256WithRSA (0.00s) --- PASS: Test_isRSA/SHA384WithRSA (0.00s) --- PASS: Test_isRSA/SHA512WithRSA (0.00s) --- PASS: Test_isRSA/SHA256WithRSAPSS (0.00s) --- PASS: Test_isRSA/SHA384WithRSAPSS (0.00s) --- PASS: Test_isRSA/SHA512WithRSAPSS (0.00s) --- PASS: Test_isRSA/ECDSAWithSHA256 (0.00s) --- PASS: Test_isRSA/ECDSAWithSHA384 (0.00s) --- PASS: Test_isRSA/ECDSAWithSHA512 (0.00s) --- PASS: Test_isRSA/PureEd25519 (0.00s) PASS ok github.com/smallstep/certificates/cas/softcas 11.314s === RUN Test_newServerEndpointID === RUN Test_newServerEndpointID/ok === RUN Test_newServerEndpointID/ok_uuid --- PASS: Test_newServerEndpointID (0.00s) --- PASS: Test_newServerEndpointID/ok (0.00s) --- PASS: Test_newServerEndpointID/ok_uuid (0.00s) === RUN Test_newStepIssuer === RUN Test_newStepIssuer/x5c === RUN Test_newStepIssuer/jwk === RUN Test_newStepIssuer/fail --- PASS: Test_newStepIssuer (2.24s) --- PASS: Test_newStepIssuer/x5c (0.00s) --- PASS: Test_newStepIssuer/jwk (0.00s) --- PASS: Test_newStepIssuer/fail (0.00s) === RUN Test_jwkIssuer_SignToken === RUN Test_jwkIssuer_SignToken/ok === RUN Test_jwkIssuer_SignToken/ok_ra === RUN Test_jwkIssuer_SignToken/ok_ra_endpoint_id === RUN Test_jwkIssuer_SignToken/fail --- PASS: Test_jwkIssuer_SignToken (2.24s) --- PASS: Test_jwkIssuer_SignToken/ok (0.00s) --- PASS: Test_jwkIssuer_SignToken/ok_ra (0.00s) --- PASS: Test_jwkIssuer_SignToken/ok_ra_endpoint_id (0.00s) --- PASS: Test_jwkIssuer_SignToken/fail (0.00s) === RUN Test_jwkIssuer_RevokeToken === RUN Test_jwkIssuer_RevokeToken/ok === RUN Test_jwkIssuer_RevokeToken/ok#01 --- PASS: Test_jwkIssuer_RevokeToken (2.07s) --- PASS: Test_jwkIssuer_RevokeToken/ok (0.00s) --- PASS: Test_jwkIssuer_RevokeToken/ok#01 (0.00s) === RUN Test_jwkIssuer_Lifetime === RUN Test_jwkIssuer_Lifetime/ok --- PASS: Test_jwkIssuer_Lifetime (2.16s) --- PASS: Test_jwkIssuer_Lifetime/ok (0.00s) === RUN Test_newJWKSignerFromEncryptedKey === RUN Test_newJWKSignerFromEncryptedKey/ok === RUN Test_newJWKSignerFromEncryptedKey/fail_decrypt === RUN Test_newJWKSignerFromEncryptedKey/fail_unmarshal === RUN Test_newJWKSignerFromEncryptedKey/fail_not_signer --- PASS: Test_newJWKSignerFromEncryptedKey (14.45s) --- PASS: Test_newJWKSignerFromEncryptedKey/ok (2.84s) --- PASS: Test_newJWKSignerFromEncryptedKey/fail_decrypt (2.29s) --- PASS: Test_newJWKSignerFromEncryptedKey/fail_unmarshal (1.96s) --- PASS: Test_newJWKSignerFromEncryptedKey/fail_not_signer (2.64s) === RUN Test_init --- PASS: Test_init (0.03s) === RUN TestNew === RUN TestNew/ok === RUN TestNew/ok_jwk === RUN TestNew/ok_jwk_provisioners === RUN TestNew/ok_ca_getter === RUN TestNew/fail_authority === RUN TestNew/fail_fingerprint === RUN TestNew/fail_type === RUN TestNew/fail_provisioner === RUN TestNew/fail_provisioner_jwk === RUN TestNew/fail_provisioner_not_found === RUN TestNew/fail_invalid_password === RUN TestNew/fail_no_key === RUN TestNew/fail_certificate === RUN TestNew/fail_key === RUN TestNew/fail_key_jwk === RUN TestNew/bad_authority === RUN TestNew/fail_parse_url === RUN TestNew/fail_new_client === RUN TestNew/fail_new_x5c_issuer === RUN TestNew/fail_new_jwk_issuer === RUN TestNew/bad_issuer === RUN TestNew/bad_issuer_type --- PASS: TestNew (12.22s) --- PASS: TestNew/ok (0.01s) --- PASS: TestNew/ok_jwk (0.00s) --- PASS: TestNew/ok_jwk_provisioners (2.62s) --- PASS: TestNew/ok_ca_getter (0.00s) --- PASS: TestNew/fail_authority (0.00s) --- PASS: TestNew/fail_fingerprint (0.00s) --- PASS: TestNew/fail_type (0.00s) --- PASS: TestNew/fail_provisioner (0.00s) --- PASS: TestNew/fail_provisioner_jwk (0.00s) --- PASS: TestNew/fail_provisioner_not_found (0.01s) --- PASS: TestNew/fail_invalid_password (2.67s) --- PASS: TestNew/fail_no_key (0.01s) --- PASS: TestNew/fail_certificate (0.00s) --- PASS: TestNew/fail_key (0.00s) --- PASS: TestNew/fail_key_jwk (0.01s) --- PASS: TestNew/bad_authority (3.90s) --- PASS: TestNew/fail_parse_url (0.00s) --- PASS: TestNew/fail_new_client (0.00s) --- PASS: TestNew/fail_new_x5c_issuer (0.00s) --- PASS: TestNew/fail_new_jwk_issuer (0.00s) --- PASS: TestNew/bad_issuer (0.01s) --- PASS: TestNew/bad_issuer_type (0.02s) === RUN TestStepCAS_CreateCertificate === RUN TestStepCAS_CreateCertificate/ok === RUN TestStepCAS_CreateCertificate/ok_with_password === RUN TestStepCAS_CreateCertificate/ok_jwk === RUN TestStepCAS_CreateCertificate/ok_jwk_with_password === RUN TestStepCAS_CreateCertificate/ok_with_provisioner === RUN TestStepCAS_CreateCertificate/ok_with_server_cert === RUN TestStepCAS_CreateCertificate/fail_CSR === RUN TestStepCAS_CreateCertificate/fail_lifetime === RUN TestStepCAS_CreateCertificate/fail_sign_token === RUN TestStepCAS_CreateCertificate/fail_client_sign === RUN TestStepCAS_CreateCertificate/fail_password --- PASS: TestStepCAS_CreateCertificate (13.53s) --- PASS: TestStepCAS_CreateCertificate/ok (0.02s) --- PASS: TestStepCAS_CreateCertificate/ok_with_password (2.30s) --- PASS: TestStepCAS_CreateCertificate/ok_jwk (0.01s) --- PASS: TestStepCAS_CreateCertificate/ok_jwk_with_password (0.02s) --- PASS: TestStepCAS_CreateCertificate/ok_with_provisioner (0.01s) --- PASS: TestStepCAS_CreateCertificate/ok_with_server_cert (0.01s) --- PASS: TestStepCAS_CreateCertificate/fail_CSR (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_lifetime (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_sign_token (0.00s) --- PASS: TestStepCAS_CreateCertificate/fail_client_sign (0.01s) --- PASS: TestStepCAS_CreateCertificate/fail_password (2.54s) === RUN TestStepCAS_RenewCertificate === RUN TestStepCAS_RenewCertificate/ok === RUN TestStepCAS_RenewCertificate/fail_no_token === RUN TestStepCAS_RenewCertificate/fail_bad_token --- PASS: TestStepCAS_RenewCertificate (0.02s) --- PASS: TestStepCAS_RenewCertificate/ok (0.01s) --- PASS: TestStepCAS_RenewCertificate/fail_no_token (0.00s) --- PASS: TestStepCAS_RenewCertificate/fail_bad_token (0.00s) === RUN TestStepCAS_RevokeCertificate === RUN TestStepCAS_RevokeCertificate/ok_serial_number === RUN TestStepCAS_RevokeCertificate/ok_certificate === RUN TestStepCAS_RevokeCertificate/ok_both === RUN TestStepCAS_RevokeCertificate/ok_with_password === RUN TestStepCAS_RevokeCertificate/ok_serial_number_jwk === RUN TestStepCAS_RevokeCertificate/ok_certificate_jwk === RUN TestStepCAS_RevokeCertificate/ok_both_jwk === RUN TestStepCAS_RevokeCertificate/ok_jwk_with_password === RUN TestStepCAS_RevokeCertificate/fail_request === RUN TestStepCAS_RevokeCertificate/fail_revoke_token === RUN TestStepCAS_RevokeCertificate/fail_client_revoke === RUN TestStepCAS_RevokeCertificate/fail_password --- PASS: TestStepCAS_RevokeCertificate (13.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_serial_number (0.01s) --- PASS: TestStepCAS_RevokeCertificate/ok_certificate (0.01s) --- PASS: TestStepCAS_RevokeCertificate/ok_both (0.01s) --- PASS: TestStepCAS_RevokeCertificate/ok_with_password (3.10s) --- PASS: TestStepCAS_RevokeCertificate/ok_serial_number_jwk (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_certificate_jwk (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_both_jwk (0.00s) --- PASS: TestStepCAS_RevokeCertificate/ok_jwk_with_password (0.00s) --- PASS: TestStepCAS_RevokeCertificate/fail_request (0.00s) --- PASS: TestStepCAS_RevokeCertificate/fail_revoke_token (0.00s) --- PASS: TestStepCAS_RevokeCertificate/fail_client_revoke (0.01s) --- PASS: TestStepCAS_RevokeCertificate/fail_password (2.48s) === RUN TestStepCAS_GetCertificateAuthority === RUN TestStepCAS_GetCertificateAuthority/ok === RUN TestStepCAS_GetCertificateAuthority/ok_jwk === RUN TestStepCAS_GetCertificateAuthority/fail_fingerprint --- PASS: TestStepCAS_GetCertificateAuthority (0.02s) --- PASS: TestStepCAS_GetCertificateAuthority/ok (0.00s) --- PASS: TestStepCAS_GetCertificateAuthority/ok_jwk (0.00s) --- PASS: TestStepCAS_GetCertificateAuthority/fail_fingerprint (0.00s) === RUN Test_x5cIssuer_SignToken === RUN Test_x5cIssuer_SignToken/ok === RUN Test_x5cIssuer_SignToken/ok_ra === RUN Test_x5cIssuer_SignToken/ok_ra_endpoint_id === RUN Test_x5cIssuer_SignToken/fail_crt === RUN Test_x5cIssuer_SignToken/fail_key === RUN Test_x5cIssuer_SignToken/fail_no_signer --- PASS: Test_x5cIssuer_SignToken (0.04s) --- PASS: Test_x5cIssuer_SignToken/ok (0.01s) --- PASS: Test_x5cIssuer_SignToken/ok_ra (0.02s) --- PASS: Test_x5cIssuer_SignToken/ok_ra_endpoint_id (0.01s) --- PASS: Test_x5cIssuer_SignToken/fail_crt (0.00s) --- PASS: Test_x5cIssuer_SignToken/fail_key (0.00s) --- PASS: Test_x5cIssuer_SignToken/fail_no_signer (0.00s) === RUN Test_x5cIssuer_RevokeToken === RUN Test_x5cIssuer_RevokeToken/ok === RUN Test_x5cIssuer_RevokeToken/fail_crt === RUN Test_x5cIssuer_RevokeToken/fail_key === RUN Test_x5cIssuer_RevokeToken/fail_no_signer --- PASS: Test_x5cIssuer_RevokeToken (0.02s) --- PASS: Test_x5cIssuer_RevokeToken/ok (0.01s) --- PASS: Test_x5cIssuer_RevokeToken/fail_crt (0.00s) --- PASS: Test_x5cIssuer_RevokeToken/fail_key (0.00s) --- PASS: Test_x5cIssuer_RevokeToken/fail_no_signer (0.00s) === RUN Test_x5cIssuer_Lifetime === RUN Test_x5cIssuer_Lifetime/ok_0s === RUN Test_x5cIssuer_Lifetime/ok_1m === RUN Test_x5cIssuer_Lifetime/ok_max-1m === RUN Test_x5cIssuer_Lifetime/ok_max === RUN Test_x5cIssuer_Lifetime/ok_max+1m === RUN Test_x5cIssuer_Lifetime/ok_fail --- PASS: Test_x5cIssuer_Lifetime (0.01s) --- PASS: Test_x5cIssuer_Lifetime/ok_0s (0.00s) --- PASS: Test_x5cIssuer_Lifetime/ok_1m (0.00s) --- PASS: Test_x5cIssuer_Lifetime/ok_max-1m (0.00s) --- PASS: Test_x5cIssuer_Lifetime/ok_max (0.00s) --- PASS: Test_x5cIssuer_Lifetime/ok_max+1m (0.00s) --- PASS: Test_x5cIssuer_Lifetime/ok_fail (0.00s) === RUN Test_newJoseSigner === RUN Test_newJoseSigner/p256 === RUN Test_newJoseSigner/p384 === RUN Test_newJoseSigner/p521 === RUN Test_newJoseSigner/ed25519 === RUN Test_newJoseSigner/rsa === RUN Test_newJoseSigner/fail_p224 === RUN Test_newJoseSigner/fail_signer --- PASS: Test_newJoseSigner (2.53s) --- PASS: Test_newJoseSigner/p256 (0.00s) --- PASS: Test_newJoseSigner/p384 (0.01s) --- PASS: Test_newJoseSigner/p521 (0.02s) --- PASS: Test_newJoseSigner/ed25519 (0.00s) --- PASS: Test_newJoseSigner/rsa (0.04s) --- PASS: Test_newJoseSigner/fail_p224 (0.00s) --- PASS: Test_newJoseSigner/fail_signer (0.00s) PASS ok github.com/smallstep/certificates/cas/stepcas 69.333s === RUN TestNew_register --- PASS: TestNew_register (0.02s) === RUN TestVaultCAS_CreateCertificate === RUN TestVaultCAS_CreateCertificate/ok_ec === RUN TestVaultCAS_CreateCertificate/ok_rsa === RUN TestVaultCAS_CreateCertificate/ok_ed25519 === RUN TestVaultCAS_CreateCertificate/fail_CSR === RUN TestVaultCAS_CreateCertificate/fail_lifetime --- PASS: TestVaultCAS_CreateCertificate (0.09s) --- PASS: TestVaultCAS_CreateCertificate/ok_ec (0.04s) --- PASS: TestVaultCAS_CreateCertificate/ok_rsa (0.01s) --- PASS: TestVaultCAS_CreateCertificate/ok_ed25519 (0.03s) --- PASS: TestVaultCAS_CreateCertificate/fail_CSR (0.00s) --- PASS: TestVaultCAS_CreateCertificate/fail_lifetime (0.00s) === RUN TestVaultCAS_GetCertificateAuthority === RUN TestVaultCAS_GetCertificateAuthority/ok === RUN TestVaultCAS_GetCertificateAuthority/fail_fingerprint --- PASS: TestVaultCAS_GetCertificateAuthority (0.02s) --- PASS: TestVaultCAS_GetCertificateAuthority/ok (0.01s) --- PASS: TestVaultCAS_GetCertificateAuthority/fail_fingerprint (0.01s) === RUN TestVaultCAS_RevokeCertificate === RUN TestVaultCAS_RevokeCertificate/ok_serial_number === RUN TestVaultCAS_RevokeCertificate/ok_certificate === RUN TestVaultCAS_RevokeCertificate/ok_both === RUN TestVaultCAS_RevokeCertificate/fail_serial_string --- PASS: TestVaultCAS_RevokeCertificate (0.01s) --- PASS: TestVaultCAS_RevokeCertificate/ok_serial_number (0.01s) --- PASS: TestVaultCAS_RevokeCertificate/ok_certificate (0.00s) --- PASS: TestVaultCAS_RevokeCertificate/ok_both (0.00s) --- PASS: TestVaultCAS_RevokeCertificate/fail_serial_string (0.00s) === RUN TestVaultCAS_RenewCertificate === RUN TestVaultCAS_RenewCertificate/not_implemented --- PASS: TestVaultCAS_RenewCertificate (0.00s) --- PASS: TestVaultCAS_RenewCertificate/not_implemented (0.00s) === RUN TestVaultCAS_loadOptions === RUN TestVaultCAS_loadOptions/ok_mandatory_PKIRole_PKIRoleEd25519 === RUN TestVaultCAS_loadOptions/ok_mandatory_PKIRole_PKIRoleEC === RUN TestVaultCAS_loadOptions/ok_mandatory_PKIRole_PKIRoleRSA === RUN TestVaultCAS_loadOptions/ok_mandatory_PKIRoleRSA_PKIRoleEC_PKIRoleEd25519 === RUN TestVaultCAS_loadOptions/ok_mandatory_PKIRoleRSA_PKIRoleEC_PKIRoleEd25519_with_useless_PKIRoleDefault --- PASS: TestVaultCAS_loadOptions (0.00s) --- PASS: TestVaultCAS_loadOptions/ok_mandatory_PKIRole_PKIRoleEd25519 (0.00s) --- PASS: TestVaultCAS_loadOptions/ok_mandatory_PKIRole_PKIRoleEC (0.00s) --- PASS: TestVaultCAS_loadOptions/ok_mandatory_PKIRole_PKIRoleRSA (0.00s) --- PASS: TestVaultCAS_loadOptions/ok_mandatory_PKIRoleRSA_PKIRoleEC_PKIRoleEd25519 (0.00s) --- PASS: TestVaultCAS_loadOptions/ok_mandatory_PKIRoleRSA_PKIRoleEC_PKIRoleEd25519_with_useless_PKIRoleDefault (0.00s) PASS ok github.com/smallstep/certificates/cas/vaultcas 0.402s === RUN TestApprole_LoginMountPaths === RUN TestApprole_LoginMountPaths/ok_default_mount_path === RUN TestApprole_LoginMountPaths/ok_explicit_mount_path === RUN TestApprole_LoginMountPaths/ok_custom_mount_path --- PASS: TestApprole_LoginMountPaths (0.04s) --- PASS: TestApprole_LoginMountPaths/ok_default_mount_path (0.01s) --- PASS: TestApprole_LoginMountPaths/ok_explicit_mount_path (0.00s) --- PASS: TestApprole_LoginMountPaths/ok_custom_mount_path (0.02s) === RUN TestApprole_NewApproleAuthMethod === RUN TestApprole_NewApproleAuthMethod/ok_secret-id_string === RUN TestApprole_NewApproleAuthMethod/ok_secret-id_string_and_wrapped === RUN TestApprole_NewApproleAuthMethod/ok_secret-id_string_and_wrapped_with_custom_mountPath === RUN TestApprole_NewApproleAuthMethod/ok_secret-id_file === RUN TestApprole_NewApproleAuthMethod/ok_secret-id_env === RUN TestApprole_NewApproleAuthMethod/fail_mandatory_role-id === RUN TestApprole_NewApproleAuthMethod/fail_mandatory_secret-id_any === RUN TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_id_and_env === RUN TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_id_and_file === RUN TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_env_and_file === RUN TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_all --- PASS: TestApprole_NewApproleAuthMethod (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/ok_secret-id_string (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/ok_secret-id_string_and_wrapped (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/ok_secret-id_string_and_wrapped_with_custom_mountPath (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/ok_secret-id_file (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/ok_secret-id_env (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_mandatory_role-id (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_mandatory_secret-id_any (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_id_and_env (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_id_and_file (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_env_and_file (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_multiple_secret-id_types_all (0.00s) PASS ok github.com/smallstep/certificates/cas/vaultcas/auth/approle 0.259s === RUN TestApprole_LoginMountPaths === RUN TestApprole_LoginMountPaths/ok_default_mount_path === RUN TestApprole_LoginMountPaths/ok_explicit_mount_path === RUN TestApprole_LoginMountPaths/ok_custom_mount_path --- PASS: TestApprole_LoginMountPaths (0.05s) --- PASS: TestApprole_LoginMountPaths/ok_default_mount_path (0.02s) --- PASS: TestApprole_LoginMountPaths/ok_explicit_mount_path (0.01s) --- PASS: TestApprole_LoginMountPaths/ok_custom_mount_path (0.01s) === RUN TestApprole_NewApproleAuthMethod === RUN TestApprole_NewApproleAuthMethod/ok_secret-id_string === RUN TestApprole_NewApproleAuthMethod/fail_mandatory_role --- PASS: TestApprole_NewApproleAuthMethod (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/ok_secret-id_string (0.00s) --- PASS: TestApprole_NewApproleAuthMethod/fail_mandatory_role (0.00s) PASS ok github.com/smallstep/certificates/cas/vaultcas/auth/kubernetes 0.182s ? github.com/smallstep/certificates/cmd/step-awskms-init [no test files] ? github.com/smallstep/certificates/cmd/step-ca [no test files] ? github.com/smallstep/certificates/cmd/step-cloudkms-init [no test files] ? github.com/smallstep/certificates/cmd/step-pkcs11-init [no test files] ? github.com/smallstep/certificates/cmd/step-yubikey-init [no test files] ? github.com/smallstep/certificates/commands [no test files] === RUN TestIsRevoked === RUN TestIsRevoked/false/ErrNotFound === RUN TestIsRevoked/error/checking_bucket === RUN TestIsRevoked/true === RUN TestIsRevoked/false/nil_db --- PASS: TestIsRevoked (0.00s) --- PASS: TestIsRevoked/false/ErrNotFound (0.00s) --- PASS: TestIsRevoked/error/checking_bucket (0.00s) --- PASS: TestIsRevoked/true (0.00s) --- PASS: TestIsRevoked/false/nil_db (0.00s) === RUN TestRevoke === RUN TestRevoke/error/force_isRevoked === RUN TestRevoke/error/was_already_revoked === RUN TestRevoke/ok --- PASS: TestRevoke (0.00s) --- PASS: TestRevoke/error/force_isRevoked (0.00s) --- PASS: TestRevoke/error/was_already_revoked (0.00s) --- PASS: TestRevoke/ok (0.00s) === RUN TestUseToken === RUN TestUseToken/ok/cmpAndSwap-success === RUN TestUseToken/fail/force-CmpAndSwap-error === RUN TestUseToken/fail/CmpAndSwap-already-exists --- PASS: TestUseToken (0.00s) --- PASS: TestUseToken/ok/cmpAndSwap-success (0.00s) --- PASS: TestUseToken/fail/force-CmpAndSwap-error (0.00s) --- PASS: TestUseToken/fail/CmpAndSwap-already-exists (0.00s) === RUN TestDB_StoreCertificateChain === RUN TestDB_StoreCertificateChain/ok === RUN TestDB_StoreCertificateChain/ok_ra_provisioner === RUN TestDB_StoreCertificateChain/ok_no_provisioner === RUN TestDB_StoreCertificateChain/fail_store_certificate --- PASS: TestDB_StoreCertificateChain (0.00s) --- PASS: TestDB_StoreCertificateChain/ok (0.00s) --- PASS: TestDB_StoreCertificateChain/ok_ra_provisioner (0.00s) --- PASS: TestDB_StoreCertificateChain/ok_no_provisioner (0.00s) --- PASS: TestDB_StoreCertificateChain/fail_store_certificate (0.00s) === RUN TestDB_GetCertificateData === RUN TestDB_GetCertificateData/ok === RUN TestDB_GetCertificateData/fail_not_found === RUN TestDB_GetCertificateData/fail_db === RUN TestDB_GetCertificateData/fail_unmarshal --- PASS: TestDB_GetCertificateData (0.00s) --- PASS: TestDB_GetCertificateData/ok (0.00s) --- PASS: TestDB_GetCertificateData/fail_not_found (0.00s) --- PASS: TestDB_GetCertificateData/fail_db (0.00s) --- PASS: TestDB_GetCertificateData/fail_unmarshal (0.00s) === RUN TestDB_StoreRenewedCertificate === RUN TestDB_StoreRenewedCertificate/ok === RUN TestDB_StoreRenewedCertificate/ok_no_data === RUN TestDB_StoreRenewedCertificate/ok_fail_marshal === RUN TestDB_StoreRenewedCertificate/fail --- PASS: TestDB_StoreRenewedCertificate (0.00s) --- PASS: TestDB_StoreRenewedCertificate/ok (0.00s) --- PASS: TestDB_StoreRenewedCertificate/ok_no_data (0.00s) --- PASS: TestDB_StoreRenewedCertificate/ok_fail_marshal (0.00s) --- PASS: TestDB_StoreRenewedCertificate/fail (0.00s) === RUN TestSimpleDB --- PASS: TestSimpleDB (0.00s) PASS ok github.com/smallstep/certificates/db 0.265s === RUN TestError_MarshalJSON === RUN TestError_MarshalJSON/ok === RUN TestError_MarshalJSON/ok_no_error --- PASS: TestError_MarshalJSON (0.00s) --- PASS: TestError_MarshalJSON/ok (0.00s) --- PASS: TestError_MarshalJSON/ok_no_error (0.00s) === RUN TestError_UnmarshalJSON === RUN TestError_UnmarshalJSON/ok === RUN TestError_UnmarshalJSON/fail --- PASS: TestError_UnmarshalJSON (0.00s) --- PASS: TestError_UnmarshalJSON/ok (0.00s) --- PASS: TestError_UnmarshalJSON/fail (0.00s) PASS ok github.com/smallstep/certificates/errs 0.094s ? github.com/smallstep/certificates/examples/basic-client [no test files] ? github.com/smallstep/certificates/examples/basic-federation/client [no test files] ? github.com/smallstep/certificates/examples/basic-federation/server [no test files] ? github.com/smallstep/certificates/examples/bootstrap-client [no test files] ? github.com/smallstep/certificates/examples/bootstrap-mtls-server [no test files] ? github.com/smallstep/certificates/examples/bootstrap-tls-server [no test files] === RUN TestHealthOKHandling === RUN TestHealthOKHandling/200_should_be_logged_at_Info_level_for_/health_request_without_explicit_opt-in === RUN TestHealthOKHandling/200_should_be_logged_only_at_Trace_level_for_/health_request_if_opt-in --- PASS: TestHealthOKHandling (0.01s) --- PASS: TestHealthOKHandling/200_should_be_logged_at_Info_level_for_/health_request_without_explicit_opt-in (0.00s) --- PASS: TestHealthOKHandling/200_should_be_logged_only_at_Trace_level_for_/health_request_if_opt-in (0.00s) === RUN TestHandlingRegardlessOfOptions === RUN TestHandlingRegardlessOfOptions/200_should_be_logged_at_Info_level_for_non-health_requests === RUN TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_for_non-health_requests === RUN TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_for_non-health_requests === RUN TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_even_for_/health_requests === RUN TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_even_for_/health_requests --- PASS: TestHandlingRegardlessOfOptions (0.01s) --- PASS: TestHandlingRegardlessOfOptions/200_should_be_logged_at_Info_level_for_non-health_requests (0.00s) --- PASS: TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_for_non-health_requests (0.00s) --- PASS: TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_for_non-health_requests (0.00s) --- PASS: TestHandlingRegardlessOfOptions/400_should_be_logged_at_Warn_level_even_for_/health_requests (0.00s) --- PASS: TestHandlingRegardlessOfOptions/500_should_be_logged_at_Error_level_even_for_/health_requests (0.00s) PASS ok github.com/smallstep/certificates/logging 0.132s ? github.com/smallstep/certificates/monitoring [no test files] === RUN TestPKI_WriteHelmTemplate === RUN TestPKI_WriteHelmTemplate/ok/simple === RUN TestPKI_WriteHelmTemplate/ok/with-provisioner === RUN TestPKI_WriteHelmTemplate/ok/with-acme === RUN TestPKI_WriteHelmTemplate/ok/with-admin === RUN TestPKI_WriteHelmTemplate/ok/with-ssh === RUN TestPKI_WriteHelmTemplate/ok/with-ssh-and-acme === RUN TestPKI_WriteHelmTemplate/fail/authority.ProvisionerToCertificates --- PASS: TestPKI_WriteHelmTemplate (0.39s) --- PASS: TestPKI_WriteHelmTemplate/ok/simple (0.07s) --- PASS: TestPKI_WriteHelmTemplate/ok/with-provisioner (0.07s) --- PASS: TestPKI_WriteHelmTemplate/ok/with-acme (0.05s) --- PASS: TestPKI_WriteHelmTemplate/ok/with-admin (0.05s) --- PASS: TestPKI_WriteHelmTemplate/ok/with-ssh (0.06s) --- PASS: TestPKI_WriteHelmTemplate/ok/with-ssh-and-acme (0.07s) --- PASS: TestPKI_WriteHelmTemplate/fail/authority.ProvisionerToCertificates (0.00s) PASS ok github.com/smallstep/certificates/pki 0.523s === RUN TestNamePolicyEngine_matchDomainConstraint === RUN TestNamePolicyEngine_matchDomainConstraint/fail/wildcard === RUN TestNamePolicyEngine_matchDomainConstraint/fail/wildcard-literal === RUN TestNamePolicyEngine_matchDomainConstraint/fail/specific-domain === RUN TestNamePolicyEngine_matchDomainConstraint/fail/single-whitespace-domain === RUN TestNamePolicyEngine_matchDomainConstraint/fail/period-domain === RUN TestNamePolicyEngine_matchDomainConstraint/fail/wrong-asterisk-prefix === RUN TestNamePolicyEngine_matchDomainConstraint/fail/asterisk-in-domain === RUN TestNamePolicyEngine_matchDomainConstraint/fail/asterisk-label === RUN TestNamePolicyEngine_matchDomainConstraint/fail/multiple-periods === RUN TestNamePolicyEngine_matchDomainConstraint/fail/error-parsing-domain === RUN TestNamePolicyEngine_matchDomainConstraint/fail/error-parsing-constraint === RUN TestNamePolicyEngine_matchDomainConstraint/fail/no-subdomain === RUN TestNamePolicyEngine_matchDomainConstraint/fail/too-many-subdomains === RUN TestNamePolicyEngine_matchDomainConstraint/fail/wrong-domain === RUN TestNamePolicyEngine_matchDomainConstraint/false/idna-internationalized-domain-name === RUN TestNamePolicyEngine_matchDomainConstraint/false/idna-internationalized-domain-name-constraint === RUN TestNamePolicyEngine_matchDomainConstraint/ok/empty-constraint === RUN TestNamePolicyEngine_matchDomainConstraint/ok/wildcard === RUN TestNamePolicyEngine_matchDomainConstraint/ok/wildcard-literal === RUN TestNamePolicyEngine_matchDomainConstraint/ok/specific-domain === RUN TestNamePolicyEngine_matchDomainConstraint/ok/different-case === RUN TestNamePolicyEngine_matchDomainConstraint/ok/idna-internationalized-domain-name-punycode --- PASS: TestNamePolicyEngine_matchDomainConstraint (0.01s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/wildcard (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/wildcard-literal (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/specific-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/single-whitespace-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/period-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/wrong-asterisk-prefix (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/asterisk-in-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/asterisk-label (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/multiple-periods (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/error-parsing-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/error-parsing-constraint (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/no-subdomain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/too-many-subdomains (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/fail/wrong-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/false/idna-internationalized-domain-name (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/false/idna-internationalized-domain-name-constraint (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/ok/empty-constraint (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/ok/wildcard (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/ok/wildcard-literal (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/ok/specific-domain (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/ok/different-case (0.00s) --- PASS: TestNamePolicyEngine_matchDomainConstraint/ok/idna-internationalized-domain-name-punycode (0.00s) === RUN Test_matchIPConstraint === RUN Test_matchIPConstraint/false/ipv4-in-ipv6-nat64 === RUN Test_matchIPConstraint/ok/ipv4 === RUN Test_matchIPConstraint/ok/ipv6 === RUN Test_matchIPConstraint/ok/ipv4-in-ipv6 === RUN Test_matchIPConstraint/ok/ipv4-in-ipv6-nat64-fixed-ip === RUN Test_matchIPConstraint/ok/ipv4-in-ipv6-nat64 --- PASS: Test_matchIPConstraint (0.00s) --- PASS: Test_matchIPConstraint/false/ipv4-in-ipv6-nat64 (0.00s) --- PASS: Test_matchIPConstraint/ok/ipv4 (0.00s) --- PASS: Test_matchIPConstraint/ok/ipv6 (0.00s) --- PASS: Test_matchIPConstraint/ok/ipv4-in-ipv6 (0.00s) --- PASS: Test_matchIPConstraint/ok/ipv4-in-ipv6-nat64-fixed-ip (0.00s) --- PASS: Test_matchIPConstraint/ok/ipv4-in-ipv6-nat64 (0.00s) === RUN TestNamePolicyEngine_matchEmailConstraint === RUN TestNamePolicyEngine_matchEmailConstraint/fail/asterisk-label === RUN TestNamePolicyEngine_matchEmailConstraint/fail/asterisk-inside-domain === RUN TestNamePolicyEngine_matchEmailConstraint/fail/parse-email === RUN TestNamePolicyEngine_matchEmailConstraint/fail/wildcard === RUN TestNamePolicyEngine_matchEmailConstraint/fail/wildcard-x509-period === RUN TestNamePolicyEngine_matchEmailConstraint/fail/specific-mail-wrong-domain === RUN TestNamePolicyEngine_matchEmailConstraint/fail/specific-mail-wrong-local === RUN TestNamePolicyEngine_matchEmailConstraint/ok/wildcard === RUN TestNamePolicyEngine_matchEmailConstraint/ok/wildcard-x509-period === RUN TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-prefix === RUN TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-prefix-match === RUN TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-inside-local === RUN TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-inside-local-match === RUN TestNamePolicyEngine_matchEmailConstraint/ok/specific-mail === RUN TestNamePolicyEngine_matchEmailConstraint/ok/wildcard-tld === RUN TestNamePolicyEngine_matchEmailConstraint/ok/different-case --- PASS: TestNamePolicyEngine_matchEmailConstraint (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/asterisk-label (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/asterisk-inside-domain (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/parse-email (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/wildcard (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/wildcard-x509-period (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/specific-mail-wrong-domain (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/fail/specific-mail-wrong-local (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/wildcard (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/wildcard-x509-period (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-prefix (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-prefix-match (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-inside-local (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/asterisk-inside-local-match (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/specific-mail (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/wildcard-tld (0.00s) --- PASS: TestNamePolicyEngine_matchEmailConstraint/ok/different-case (0.00s) === RUN TestNamePolicyEngine_matchURIConstraint === RUN TestNamePolicyEngine_matchURIConstraint/fail/empty-host === RUN TestNamePolicyEngine_matchURIConstraint/fail/host-with-asterisk-prefix === RUN TestNamePolicyEngine_matchURIConstraint/fail/host-with-asterisk-label === RUN TestNamePolicyEngine_matchURIConstraint/fail/host-with-asterisk-inside === RUN TestNamePolicyEngine_matchURIConstraint/fail/wildcard === RUN TestNamePolicyEngine_matchURIConstraint/fail/wildcard-subdomains-too-deep === RUN TestNamePolicyEngine_matchURIConstraint/fail/host-with-port-split-error === RUN TestNamePolicyEngine_matchURIConstraint/fail/host-with-ipv4 === RUN TestNamePolicyEngine_matchURIConstraint/fail/host-with-ipv6 === RUN TestNamePolicyEngine_matchURIConstraint/ok/wildcard === RUN TestNamePolicyEngine_matchURIConstraint/ok/host-with-port === RUN TestNamePolicyEngine_matchURIConstraint/ok/different-case --- PASS: TestNamePolicyEngine_matchURIConstraint (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/empty-host (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/host-with-asterisk-prefix (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/host-with-asterisk-label (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/host-with-asterisk-inside (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/wildcard (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/wildcard-subdomains-too-deep (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/host-with-port-split-error (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/host-with-ipv4 (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/fail/host-with-ipv6 (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/ok/wildcard (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/ok/host-with-port (0.00s) --- PASS: TestNamePolicyEngine_matchURIConstraint/ok/different-case (0.00s) === RUN TestNamePolicyEngine_X509_AllAllowed === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-wildcard-literal-x509 === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-single-host === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-no-label === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-empty-label === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-dot-domain === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-wildcard-multiple-subdomains === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-wildcard-literal === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-idna-internationalized-domain === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ipv4-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ipv6-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-wildcard-x509 === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-specific-mailbox === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-wildcard-subdomain === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-idna-internationalized-domain === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-idna-internationalized-domain-rfc822 === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-idna-internationalized-domain-ascii === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-domain-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-literal-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-idna-internationalized-domain === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-excluded-single-host === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ipv4-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ipv6-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-excluded-with-literal-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-permitted-no-match === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-excluded-match === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-dns-no-domain === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-dns-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-dns-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv4-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv4-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv6-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv6-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-email-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-email-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-uri-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/fail/subject-uri-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-with-ip-name === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-with-mail === RUN TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-with-uri === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ip-permitted-with-dns-name === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ip-permitted-with-mail === RUN TestNamePolicyEngine_X509_AllAllowed/fail/ip-permitted-with-uri === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-with-dns-name === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-with-ip === RUN TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-with-uri === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-dns-name === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-ip-name === RUN TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-ip-name#01 === RUN TestNamePolicyEngine_X509_AllAllowed/fail/combined-simple-all-badhost.local-common-name === RUN TestNamePolicyEngine_X509_AllAllowed/fail/combined-simple-all-anotherbadhost.local-dns === RUN TestNamePolicyEngine_X509_AllAllowed/fail/combined-simple-all-badmail@example.local === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ipv4-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ipv6-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-empty-no-constraints === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-permitted-match === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-excluded-match === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-wildcard-literal === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-combined === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-idna-internationalized-domain === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ipv4-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ipv6-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-plain-domain === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-specific-mailbox === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-idna-internationalized-domain === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-domain-wildcard === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-specific-uri === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-with-port === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-idna-internationalized-domain === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-idna-internationalized-domain#01 === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ipv4-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ipv6-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-subdomain === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-empty === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-dns-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-dns-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv4-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv4-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv6-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv6-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-email-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-email-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-uri-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/subject-uri-excluded === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-ip-name === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-mail === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-mail#01 === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ip-excluded-with-dns === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ip-excluded-with-mail === RUN TestNamePolicyEngine_X509_AllAllowed/ok/ip-excluded-with-mail#01 === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-dns === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-ip === RUN TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-uri === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded-with-dns === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded-with-dns#01 === RUN TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded-with-mail === RUN TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-subject-ip-name === RUN TestNamePolicyEngine_X509_AllAllowed/ok/combined-simple-permitted === RUN TestNamePolicyEngine_X509_AllAllowed/ok/combined-simple-permitted-without-subject-verification === RUN TestNamePolicyEngine_X509_AllAllowed/ok/combined-simple-all --- PASS: TestNamePolicyEngine_X509_AllAllowed (0.07s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-wildcard-literal-x509 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-single-host (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-no-label (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-empty-label (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-dot-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-wildcard-multiple-subdomains (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-wildcard-literal (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-idna-internationalized-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ipv4-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ipv6-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-wildcard-x509 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-specific-mailbox (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-wildcard-subdomain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-idna-internationalized-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-idna-internationalized-domain-rfc822 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-idna-internationalized-domain-ascii (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-domain-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-literal-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-idna-internationalized-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-excluded-single-host (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ipv4-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ipv6-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-excluded-with-literal-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-permitted-no-match (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-excluded-match (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-dns-no-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-dns-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-dns-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv4-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv4-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv6-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-ipv6-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-email-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-email-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-uri-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/subject-uri-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-with-ip-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-with-mail (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/dns-permitted-with-uri (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ip-permitted-with-dns-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ip-permitted-with-mail (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/ip-permitted-with-uri (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-with-dns-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-with-ip (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/mail-permitted-with-uri (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-dns-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-ip-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/uri-permitted-with-ip-name#01 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/combined-simple-all-badhost.local-common-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/combined-simple-all-anotherbadhost.local-dns (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/fail/combined-simple-all-badmail@example.local (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ipv4-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ipv6-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-empty-no-constraints (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-permitted-match (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-excluded-match (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-wildcard-literal (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-combined (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-permitted-idna-internationalized-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ipv4-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ipv6-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-plain-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-specific-mailbox (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-permitted-idna-internationalized-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-domain-wildcard (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-specific-uri (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-with-port (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-idna-internationalized-domain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-permitted-idna-internationalized-domain#01 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ipv4-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ipv6-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-subdomain (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-empty (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-dns-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-dns-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv4-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv4-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv6-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-ipv6-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-email-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-email-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-uri-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/subject-uri-excluded (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-ip-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-mail (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-mail#01 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ip-excluded-with-dns (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ip-excluded-with-mail (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/ip-excluded-with-mail#01 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-dns (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-ip (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/mail-excluded-with-uri (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded-with-dns (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded-with-dns#01 (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/uri-excluded-with-mail (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/dns-excluded-with-subject-ip-name (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/combined-simple-permitted (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/combined-simple-permitted-without-subject-verification (0.00s) --- PASS: TestNamePolicyEngine_X509_AllAllowed/ok/combined-simple-all (0.00s) === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-dns-domain === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-excluded-dns-domain === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-cidr === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-excluded-cidr === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-email === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-excluded-email === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-excluded-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-principal-as-mail === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-principal-with-permitted-dns-domain === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-principal-with-permitted-ip-range === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-principal-with-permitted-email === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/combined-user === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/combined-user-with-excluded-user-principal === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-user-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-user-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-permitted-dns-domain === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-excluded-dns-domain === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-permitted-ip === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-excluded-ip === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-excluded-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-permitted-email === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-excluded-email === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-permitted-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-excluded-principals === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/combined-user === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/combined-user-with-excluded-user-principal === RUN TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/combined-host --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed (0.02s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-dns-domain (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-excluded-dns-domain (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-cidr (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-excluded-cidr (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-email (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-excluded-email (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-excluded-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-principal-as-mail (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-principal-with-permitted-dns-domain (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-principal-with-permitted-ip-range (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-principal-with-permitted-email (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/combined-user (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/combined-user-with-excluded-user-principal (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/host-with-permitted-user-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/fail/user-with-permitted-user-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-permitted-dns-domain (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-excluded-dns-domain (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-permitted-ip (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-excluded-ip (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/host-with-excluded-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-permitted-email (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-excluded-email (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-permitted-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/user-with-excluded-principals (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/combined-user (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/combined-user-with-excluded-user-principal (0.00s) --- PASS: TestNamePolicyEngine_SSH_ArePrincipalsAllowed/ok/combined-host (0.00s) === RUN Test_splitSSHPrincipals === RUN Test_splitSSHPrincipals/ok/host-dns === RUN Test_splitSSHPrincipals/ok/host-ip === RUN Test_splitSSHPrincipals/ok/user-localhost === RUN Test_splitSSHPrincipals/fail/host-uri === RUN Test_splitSSHPrincipals/fail/user-ip === RUN Test_splitSSHPrincipals/fail/user-uri === RUN Test_splitSSHPrincipals/ok/host-email === RUN Test_splitSSHPrincipals/ok/user-username-with-period === RUN Test_splitSSHPrincipals/ok/user-maillike === RUN Test_splitSSHPrincipals/fail/unexpected-cert-type --- PASS: Test_splitSSHPrincipals (0.02s) --- PASS: Test_splitSSHPrincipals/ok/host-dns (0.00s) --- PASS: Test_splitSSHPrincipals/ok/host-ip (0.00s) --- PASS: Test_splitSSHPrincipals/ok/user-localhost (0.00s) --- PASS: Test_splitSSHPrincipals/fail/host-uri (0.00s) --- PASS: Test_splitSSHPrincipals/fail/user-ip (0.00s) --- PASS: Test_splitSSHPrincipals/fail/user-uri (0.00s) --- PASS: Test_splitSSHPrincipals/ok/host-email (0.00s) --- PASS: Test_splitSSHPrincipals/ok/user-username-with-period (0.00s) --- PASS: Test_splitSSHPrincipals/ok/user-maillike (0.00s) --- PASS: Test_splitSSHPrincipals/fail/unexpected-cert-type (0.00s) === RUN Test_removeDuplicates === RUN Test_removeDuplicates/empty-slice === RUN Test_removeDuplicates/single-item === RUN Test_removeDuplicates/ok --- PASS: Test_removeDuplicates (0.00s) --- PASS: Test_removeDuplicates/empty-slice (0.00s) --- PASS: Test_removeDuplicates/single-item (0.00s) --- PASS: Test_removeDuplicates/ok (0.00s) === RUN Test_removeDuplicateIPNets === RUN Test_removeDuplicateIPNets/empty-slice === RUN Test_removeDuplicateIPNets/single-item === RUN Test_removeDuplicateIPNets/multiple --- PASS: Test_removeDuplicateIPNets (0.00s) --- PASS: Test_removeDuplicateIPNets/empty-slice (0.00s) --- PASS: Test_removeDuplicateIPNets/single-item (0.00s) --- PASS: Test_removeDuplicateIPNets/multiple (0.00s) === RUN TestNamePolicyError_Error === RUN TestNamePolicyError_Error/dns-not-allowed === RUN TestNamePolicyError_Error/dns-cannot-parse-domain === RUN TestNamePolicyError_Error/email-cannot-parse === RUN TestNamePolicyError_Error/uri-cannot-match === RUN TestNamePolicyError_Error/unknown --- PASS: TestNamePolicyError_Error (0.00s) --- PASS: TestNamePolicyError_Error/dns-not-allowed (0.00s) --- PASS: TestNamePolicyError_Error/dns-cannot-parse-domain (0.00s) --- PASS: TestNamePolicyError_Error/email-cannot-parse (0.00s) --- PASS: TestNamePolicyError_Error/uri-cannot-match (0.00s) --- PASS: TestNamePolicyError_Error/unknown (0.00s) === RUN Test_normalizeAndValidateCommonName === RUN Test_normalizeAndValidateCommonName/fail/empty-constraint === RUN Test_normalizeAndValidateCommonName/fail/wildcard === RUN Test_normalizeAndValidateCommonName/ok --- PASS: Test_normalizeAndValidateCommonName (0.00s) --- PASS: Test_normalizeAndValidateCommonName/fail/empty-constraint (0.00s) --- PASS: Test_normalizeAndValidateCommonName/fail/wildcard (0.00s) --- PASS: Test_normalizeAndValidateCommonName/ok (0.00s) === RUN Test_normalizeAndValidateDNSDomainConstraint === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/empty-constraint === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/wildcard-partial-label === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/wildcard-in-the-middle === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/empty-label === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/empty-reverse === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/no-asterisk === RUN Test_normalizeAndValidateDNSDomainConstraint/fail/idna-internationalized-domain-name-lookup === RUN Test_normalizeAndValidateDNSDomainConstraint/ok/wildcard === RUN Test_normalizeAndValidateDNSDomainConstraint/ok/specific-domain === RUN Test_normalizeAndValidateDNSDomainConstraint/ok/idna-internationalized-domain-name-punycode === RUN Test_normalizeAndValidateDNSDomainConstraint/ok/idna-internationalized-domain-name-lookup-transformed --- PASS: Test_normalizeAndValidateDNSDomainConstraint (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/empty-constraint (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/wildcard-partial-label (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/wildcard-in-the-middle (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/empty-label (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/empty-reverse (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/no-asterisk (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/fail/idna-internationalized-domain-name-lookup (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/ok/wildcard (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/ok/specific-domain (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/ok/idna-internationalized-domain-name-punycode (0.00s) --- PASS: Test_normalizeAndValidateDNSDomainConstraint/ok/idna-internationalized-domain-name-lookup-transformed (0.00s) === RUN Test_normalizeAndValidateEmailConstraint === RUN Test_normalizeAndValidateEmailConstraint/fail/empty-constraint === RUN Test_normalizeAndValidateEmailConstraint/fail/asterisk === RUN Test_normalizeAndValidateEmailConstraint/fail/period === RUN Test_normalizeAndValidateEmailConstraint/fail/@period === RUN Test_normalizeAndValidateEmailConstraint/fail/too-many-@s === RUN Test_normalizeAndValidateEmailConstraint/fail/parse-mailbox === RUN Test_normalizeAndValidateEmailConstraint/fail/idna-internationalized-domain === RUN Test_normalizeAndValidateEmailConstraint/fail/idna-internationalized-domain-name-lookup === RUN Test_normalizeAndValidateEmailConstraint/fail/parse-domain === RUN Test_normalizeAndValidateEmailConstraint/ok/wildcard === RUN Test_normalizeAndValidateEmailConstraint/ok/specific-mail --- PASS: Test_normalizeAndValidateEmailConstraint (0.02s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/empty-constraint (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/asterisk (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/period (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/@period (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/too-many-@s (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/parse-mailbox (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/idna-internationalized-domain (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/idna-internationalized-domain-name-lookup (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/fail/parse-domain (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/ok/wildcard (0.00s) --- PASS: Test_normalizeAndValidateEmailConstraint/ok/specific-mail (0.00s) === RUN TestNew === RUN TestNew/fail/with-permitted-ipsOrCIDRs-cidr === RUN TestNew/ok/with-excluded-ip-ranges === RUN TestNew/ok/with-permitted-emails === RUN TestNew/fail/with-excluded-dns-domains === RUN TestNew/ok/with-permitted-ip-ranges === RUN TestNew/ok/with-permitted-cidrs === RUN TestNew/fail/with-permitted-uris === RUN TestNew/ok/with-excluded-ipsOrCIDRs-cidr === RUN TestNew/ok/with-excluded-principals === RUN TestNew/ok/with-permitted-dns-wildcard-domains === RUN TestNew/fail/with-excluded-cidrs === RUN TestNew/fail/with-permitted-ipsOrCIDRs-ip === RUN TestNew/ok/subject-verification === RUN TestNew/fail/with-permitted-common-name === RUN TestNew/fail/with-excluded-ipsOrCIDRs-cidr === RUN TestNew/fail/with-excluded-ipsOrCIDRs-ip === RUN TestNew/ok/default === RUN TestNew/ok/with-excluded-cidrs === RUN TestNew/ok/with-permitted-principals === RUN TestNew/fail/with-permitted-cidrs === RUN TestNew/fail/with-permitted-emails === RUN TestNew/ok/with-excluded-dns-domains === RUN TestNew/ok/with-permitted-ipsOrCIDRs-cidr === RUN TestNew/fail/with-permitted-dns-domains === RUN TestNew/ok/with-permitted-uris === RUN TestNew/fail/with-excluded-emails === RUN TestNew/fail/with-excluded-uris === RUN TestNew/ok/literal-wildcards === RUN TestNew/ok/with-excluded-emails === RUN TestNew/ok/with-excluded-uris === RUN TestNew/fail/with-excluded-common-name --- PASS: TestNew (0.04s) --- PASS: TestNew/fail/with-permitted-ipsOrCIDRs-cidr (0.00s) --- PASS: TestNew/ok/with-excluded-ip-ranges (0.00s) --- PASS: TestNew/ok/with-permitted-emails (0.00s) --- PASS: TestNew/fail/with-excluded-dns-domains (0.00s) --- PASS: TestNew/ok/with-permitted-ip-ranges (0.00s) --- PASS: TestNew/ok/with-permitted-cidrs (0.00s) --- PASS: TestNew/fail/with-permitted-uris (0.00s) --- PASS: TestNew/ok/with-excluded-ipsOrCIDRs-cidr (0.00s) --- PASS: TestNew/ok/with-excluded-principals (0.00s) --- PASS: TestNew/ok/with-permitted-dns-wildcard-domains (0.00s) --- PASS: TestNew/fail/with-excluded-cidrs (0.00s) --- PASS: TestNew/fail/with-permitted-ipsOrCIDRs-ip (0.00s) --- PASS: TestNew/ok/subject-verification (0.00s) --- PASS: TestNew/fail/with-permitted-common-name (0.00s) --- PASS: TestNew/fail/with-excluded-ipsOrCIDRs-cidr (0.00s) --- PASS: TestNew/fail/with-excluded-ipsOrCIDRs-ip (0.00s) --- PASS: TestNew/ok/default (0.00s) --- PASS: TestNew/ok/with-excluded-cidrs (0.00s) --- PASS: TestNew/ok/with-permitted-principals (0.00s) --- PASS: TestNew/fail/with-permitted-cidrs (0.00s) --- PASS: TestNew/fail/with-permitted-emails (0.01s) --- PASS: TestNew/ok/with-excluded-dns-domains (0.00s) --- PASS: TestNew/ok/with-permitted-ipsOrCIDRs-cidr (0.00s) --- PASS: TestNew/fail/with-permitted-dns-domains (0.00s) --- PASS: TestNew/ok/with-permitted-uris (0.00s) --- PASS: TestNew/fail/with-excluded-emails (0.00s) --- PASS: TestNew/fail/with-excluded-uris (0.00s) --- PASS: TestNew/ok/literal-wildcards (0.00s) --- PASS: TestNew/ok/with-excluded-emails (0.00s) --- PASS: TestNew/ok/with-excluded-uris (0.00s) --- PASS: TestNew/fail/with-excluded-common-name (0.00s) === RUN Test_normalizeAndValidateURIDomainConstraint === RUN Test_normalizeAndValidateURIDomainConstraint/fail/empty-constraint === RUN Test_normalizeAndValidateURIDomainConstraint/fail/scheme-https === RUN Test_normalizeAndValidateURIDomainConstraint/fail/too-many-asterisks === RUN Test_normalizeAndValidateURIDomainConstraint/fail/empty-label === RUN Test_normalizeAndValidateURIDomainConstraint/fail/empty-reverse === RUN Test_normalizeAndValidateURIDomainConstraint/fail/domain-with-port === RUN Test_normalizeAndValidateURIDomainConstraint/fail/no-asterisk === RUN Test_normalizeAndValidateURIDomainConstraint/fail/ipv4 === RUN Test_normalizeAndValidateURIDomainConstraint/fail/ipv6-brackets === RUN Test_normalizeAndValidateURIDomainConstraint/fail/ipv6-no-brackets === RUN Test_normalizeAndValidateURIDomainConstraint/fail/ipv6-no-brackets#01 === RUN Test_normalizeAndValidateURIDomainConstraint/fail/idna-internationalized-domain-name-lookup === RUN Test_normalizeAndValidateURIDomainConstraint/ok/wildcard === RUN Test_normalizeAndValidateURIDomainConstraint/ok/specific-domain === RUN Test_normalizeAndValidateURIDomainConstraint/ok/idna-internationalized-domain-name-lookup === RUN Test_normalizeAndValidateURIDomainConstraint/ok/idna-internationalized-domain-name-lookup-deviation --- PASS: Test_normalizeAndValidateURIDomainConstraint (0.02s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/empty-constraint (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/scheme-https (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/too-many-asterisks (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/empty-label (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/empty-reverse (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/domain-with-port (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/no-asterisk (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/ipv4 (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/ipv6-brackets (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/ipv6-no-brackets (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/ipv6-no-brackets#01 (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/fail/idna-internationalized-domain-name-lookup (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/ok/wildcard (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/ok/specific-domain (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/ok/idna-internationalized-domain-name-lookup (0.00s) --- PASS: Test_normalizeAndValidateURIDomainConstraint/ok/idna-internationalized-domain-name-lookup-deviation (0.00s) PASS ok github.com/smallstep/certificates/policy 0.369s ? github.com/smallstep/certificates/scep [no test files] === RUN Test_decodeRequest === RUN Test_decodeRequest/fail/unsupported-method === RUN Test_decodeRequest/fail/get-unsupported-operation === RUN Test_decodeRequest/fail/get-PKIOperation === RUN Test_decodeRequest/fail/post-PKIOperation === RUN Test_decodeRequest/ok/get-GetCACert === RUN Test_decodeRequest/ok/get-GetCACaps === RUN Test_decodeRequest/ok/get-PKIOperation === RUN Test_decodeRequest/ok/post-PKIOperation --- PASS: Test_decodeRequest (0.00s) --- PASS: Test_decodeRequest/fail/unsupported-method (0.00s) --- PASS: Test_decodeRequest/fail/get-unsupported-operation (0.00s) --- PASS: Test_decodeRequest/fail/get-PKIOperation (0.00s) --- PASS: Test_decodeRequest/fail/post-PKIOperation (0.00s) --- PASS: Test_decodeRequest/ok/get-GetCACert (0.00s) --- PASS: Test_decodeRequest/ok/get-GetCACaps (0.00s) --- PASS: Test_decodeRequest/ok/get-PKIOperation (0.00s) --- PASS: Test_decodeRequest/ok/post-PKIOperation (0.00s) PASS ok github.com/smallstep/certificates/scep/api 0.111s ? github.com/smallstep/certificates/server [no test files] === RUN TestTemplates_Validate === RUN TestTemplates_Validate/ok === RUN TestTemplates_Validate/okWithData === RUN TestTemplates_Validate/badSSH === RUN TestTemplates_Validate/badDataUser === RUN TestTemplates_Validate/badDataStep --- PASS: TestTemplates_Validate (0.00s) --- PASS: TestTemplates_Validate/ok (0.00s) --- PASS: TestTemplates_Validate/okWithData (0.00s) --- PASS: TestTemplates_Validate/badSSH (0.00s) --- PASS: TestTemplates_Validate/badDataUser (0.00s) --- PASS: TestTemplates_Validate/badDataStep (0.00s) === RUN TestSSHTemplates_Validate === RUN TestSSHTemplates_Validate/ok === RUN TestSSHTemplates_Validate/user === RUN TestSSHTemplates_Validate/host === RUN TestSSHTemplates_Validate/content === RUN TestSSHTemplates_Validate/badUser === RUN TestSSHTemplates_Validate/badHost === RUN TestSSHTemplates_Validate/badContent --- PASS: TestSSHTemplates_Validate (0.00s) --- PASS: TestSSHTemplates_Validate/ok (0.00s) --- PASS: TestSSHTemplates_Validate/user (0.00s) --- PASS: TestSSHTemplates_Validate/host (0.00s) --- PASS: TestSSHTemplates_Validate/content (0.00s) --- PASS: TestSSHTemplates_Validate/badUser (0.00s) --- PASS: TestSSHTemplates_Validate/badHost (0.00s) --- PASS: TestSSHTemplates_Validate/badContent (0.00s) === RUN TestTemplate_Validate === RUN TestTemplate_Validate/okSnippet === RUN TestTemplate_Validate/okFile === RUN TestTemplate_Validate/okDirectory === RUN TestTemplate_Validate/badName === RUN TestTemplate_Validate/badType === RUN TestTemplate_Validate/badType#01 === RUN TestTemplate_Validate/badTemplatePath === RUN TestTemplate_Validate/badTemplatePath#01 === RUN TestTemplate_Validate/badTemplatePath#02 === RUN TestTemplate_Validate/badPath === RUN TestTemplate_Validate/missingTemplate === RUN TestTemplate_Validate/directoryTemplate --- PASS: TestTemplate_Validate (0.00s) --- PASS: TestTemplate_Validate/okSnippet (0.00s) --- PASS: TestTemplate_Validate/okFile (0.00s) --- PASS: TestTemplate_Validate/okDirectory (0.00s) --- PASS: TestTemplate_Validate/badName (0.00s) --- PASS: TestTemplate_Validate/badType (0.00s) --- PASS: TestTemplate_Validate/badType#01 (0.00s) --- PASS: TestTemplate_Validate/badTemplatePath (0.00s) --- PASS: TestTemplate_Validate/badTemplatePath#01 (0.00s) --- PASS: TestTemplate_Validate/badTemplatePath#02 (0.00s) --- PASS: TestTemplate_Validate/badPath (0.00s) --- PASS: TestTemplate_Validate/missingTemplate (0.00s) --- PASS: TestTemplate_Validate/directoryTemplate (0.00s) === RUN TestLoadAll === RUN TestLoadAll/ok === RUN TestLoadAll/empty === RUN TestLoadAll/nil === RUN TestLoadAll/badUser === RUN TestLoadAll/badHost --- PASS: TestLoadAll (0.00s) --- PASS: TestLoadAll/ok (0.00s) --- PASS: TestLoadAll/empty (0.00s) --- PASS: TestLoadAll/nil (0.00s) --- PASS: TestLoadAll/badUser (0.00s) --- PASS: TestLoadAll/badHost (0.00s) === RUN TestTemplate_Load === RUN TestTemplate_Load/ok === RUN TestTemplate_Load/ok_backfill === RUN TestTemplate_Load/error === RUN TestTemplate_Load/missing --- PASS: TestTemplate_Load (0.00s) --- PASS: TestTemplate_Load/ok (0.00s) --- PASS: TestTemplate_Load/ok_backfill (0.00s) --- PASS: TestTemplate_Load/error (0.00s) --- PASS: TestTemplate_Load/missing (0.00s) === RUN TestTemplate_Render === RUN TestTemplate_Render/snippet === RUN TestTemplate_Render/file === RUN TestTemplate_Render/file#01 === RUN TestTemplate_Render/directory === RUN TestTemplate_Render/error --- PASS: TestTemplate_Render (0.02s) --- PASS: TestTemplate_Render/snippet (0.00s) --- PASS: TestTemplate_Render/file (0.00s) --- PASS: TestTemplate_Render/file#01 (0.00s) --- PASS: TestTemplate_Render/directory (0.00s) --- PASS: TestTemplate_Render/error (0.00s) === RUN TestTemplate_Output === RUN TestTemplate_Output/snippet === RUN TestTemplate_Output/file === RUN TestTemplate_Output/file#01 === RUN TestTemplate_Output/directory === RUN TestTemplate_Output/error --- PASS: TestTemplate_Output (0.01s) --- PASS: TestTemplate_Output/snippet (0.00s) --- PASS: TestTemplate_Output/file (0.00s) --- PASS: TestTemplate_Output/file#01 (0.00s) --- PASS: TestTemplate_Output/directory (0.00s) --- PASS: TestTemplate_Output/error (0.00s) === RUN TestOutput_Write === RUN TestOutput_Write/snippet === RUN TestOutput_Write/file === RUN TestOutput_Write/snippetInDir === RUN TestOutput_Write/fileInDir === RUN TestOutput_Write/directory === RUN TestOutput_Write/snippetErr === RUN TestOutput_Write/fileErr === RUN TestOutput_Write/directoryErr --- PASS: TestOutput_Write (0.00s) --- PASS: TestOutput_Write/snippet (0.00s) --- PASS: TestOutput_Write/file (0.00s) --- PASS: TestOutput_Write/snippetInDir (0.00s) --- PASS: TestOutput_Write/fileInDir (0.00s) --- PASS: TestOutput_Write/directory (0.00s) --- PASS: TestOutput_Write/snippetErr (0.00s) --- PASS: TestOutput_Write/fileErr (0.00s) --- PASS: TestOutput_Write/directoryErr (0.00s) === RUN TestTemplate_ValidateRequiredData === RUN TestTemplate_ValidateRequiredData/ok_nil === RUN TestTemplate_ValidateRequiredData/ok_empty === RUN TestTemplate_ValidateRequiredData/ok_one === RUN TestTemplate_ValidateRequiredData/ok_multiple === RUN TestTemplate_ValidateRequiredData/fail_nil === RUN TestTemplate_ValidateRequiredData/fail_missing --- PASS: TestTemplate_ValidateRequiredData (0.00s) --- PASS: TestTemplate_ValidateRequiredData/ok_nil (0.00s) --- PASS: TestTemplate_ValidateRequiredData/ok_empty (0.00s) --- PASS: TestTemplate_ValidateRequiredData/ok_one (0.00s) --- PASS: TestTemplate_ValidateRequiredData/ok_multiple (0.00s) --- PASS: TestTemplate_ValidateRequiredData/fail_nil (0.00s) --- PASS: TestTemplate_ValidateRequiredData/fail_missing (0.00s) === RUN TestDefaultTemplates === RUN TestDefaultTemplates/ok --- PASS: TestDefaultTemplates (0.00s) --- PASS: TestDefaultTemplates/ok (0.00s) PASS ok github.com/smallstep/certificates/templates 0.123s === RUN TestNewRequestBody === RUN TestNewRequestBody/SSH_Certificate_Request === RUN TestNewRequestBody/SSH_Certificate === RUN TestNewRequestBody/Permanent_Identifier === RUN TestNewRequestBody/X509_Certificate_Request === RUN TestNewRequestBody/X509_Certificate --- PASS: TestNewRequestBody (0.01s) --- PASS: TestNewRequestBody/SSH_Certificate_Request (0.00s) --- PASS: TestNewRequestBody/SSH_Certificate (0.00s) --- PASS: TestNewRequestBody/Permanent_Identifier (0.00s) --- PASS: TestNewRequestBody/X509_Certificate_Request (0.00s) --- PASS: TestNewRequestBody/X509_Certificate (0.00s) PASS ok github.com/smallstep/certificates/webhook 0.123s FAIL ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix1/build receiving incremental file list step-ca-0.23.1-1-riscv64-build.log step-ca-0.23.1-1-riscv64-check.log step-ca-0.23.1-1-riscv64-prepare.log sent 81 bytes received 50,713 bytes 101,588.00 bytes/sec total size is 494,387 speedup is 9.73