Skip to content

Introduce EJBCA UpstreamAuthority plugin for SPIRE Server #8470

Introduce EJBCA UpstreamAuthority plugin for SPIRE Server

Introduce EJBCA UpstreamAuthority plugin for SPIRE Server #8470

Re-run triggered August 29, 2024 17:35
Status Failure
Total duration 10m 41s
Artifacts

pr_build.yaml

on: pull_request
cache-deps (linux)
40s
cache-deps (linux)
cache-deps (windows)
1m 12s
cache-deps (windows)
Matrix: unit-test
Build matrix
3s
Build matrix
lint (linux)
5m 1s
lint (linux)
unit-test (linux with race detection)
6m 21s
unit-test (linux with race detection)
artifacts (windows)
5m 51s
artifacts (windows)
lint (windows)
8m 45s
lint (windows)
unit-test (windows)
8m 55s
unit-test (windows)
Matrix: integration (linux)
artifacts (linux)
0s
artifacts (linux)
Matrix: integration-k8s
images (windows)
0s
images (windows)
integration (windows)
0s
integration (windows)
success
0s
success
Fit to window
Zoom out
Zoom in

Annotations

83 errors and 8 warnings
unit-test (macos-latest): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L244
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (macos-latest): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L249
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (macos-latest)
Process completed with exit code 2.
unit-test (ubuntu-22.04)
The job was canceled because "macos-latest" failed.
unit-test (ubuntu-22.04): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L244
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (ubuntu-22.04): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L249
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (ubuntu-22.04)
The operation was canceled.
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
unit-test (ubuntu-22.04)
Cannot open: File exists
lint (linux): pkg/server/catalog/upstreamauthority.go#L10
could not import github.com/spiffe/spire/pkg/server/plugin/upstreamauthority/ejbca (-: # github.com/spiffe/spire/pkg/server/plugin/upstreamauthority/ejbca
lint (linux): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L244
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
lint (linux): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L249
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos) (typecheck)
lint (linux): pkg/server/api/localauthority/v1/service_test.go#L2389
undefined: localauthority (typecheck)
lint (linux): pkg/server/api/localauthority/v1/service_test.go#L2409
undefined: localauthority (typecheck)
lint (linux): pkg/server/catalog/catalog_test.go#L55
missing type in composite literal (typecheck)
lint (linux): pkg/server/catalog/catalog_test.go#L63
missing type in composite literal (typecheck)
lint (linux): pkg/server/catalog/catalog_test.go#L67
missing type in composite literal (typecheck)
lint (linux): pkg/server/catalog/catalog_test.go#L5
"fmt" imported and not used (typecheck)
lint (linux): pkg/server/catalog/catalog_test.go#L10
"github.com/spiffe/spire/pkg/common/catalog" imported as commoncatalog and not used (typecheck)
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
lint (linux)
Cannot open: File exists
images (linux)
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
images (linux)
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
images (linux)
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
images (linux)
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
images (linux)
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
images (linux)
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
images (linux)
Process completed with exit code 2.
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
images (linux)
Cannot open: File exists
unit-test (linux with race detection): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L244
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (linux with race detection): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L249
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (linux with race detection)
Process completed with exit code 2.
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
unit-test (linux with race detection)
Cannot open: File exists
artifacts (windows): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L244
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
artifacts (windows): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L249
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
artifacts (windows)
Process completed with exit code 2.
lint (windows)
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos)"
lint (windows)
undefined: localauthority"
lint (windows)
undefined: localauthority"
lint (windows)
undefined: localauthority"
lint (windows)
missing type in composite literal"
lint (windows)
missing type in composite literal"
lint (windows)
missing type in composite literal"
lint (windows)
\"fmt\" imported and not used"
lint (windows)
\"github.com/spiffe/spire/pkg/common/catalog\" imported as commoncatalog and not used"
lint (windows)
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos"
unit-test (windows): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L244
cannot use append([]*x509.Certificate{…}, caChain[:len(caChain) - 1]...) (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (windows): pkg/server/plugin/upstreamauthority/ejbca/ejbca.go#L249
cannot use []*x509.Certificate{…} (value of type []*x509.Certificate) as []*x509certificate.X509Authority value in argument to x509certificate.ToPluginProtos
unit-test (windows)
Process completed with exit code 2.
unit-test (ubuntu-22.04)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
unit-test (ubuntu-22.04)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint (linux)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint (linux)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
images (linux)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
images (linux)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
unit-test (linux with race detection)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
unit-test (linux with race detection)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2