Skip to content

Instantly share code, notes, and snippets.

@pmuir
Created May 16, 2019 08:35
Show Gist options
  • Save pmuir/6ee2dcbc833486caad836e368884d121 to your computer and use it in GitHub Desktop.
Save pmuir/6ee2dcbc833486caad836e368884d121 to your computer and use it in GitHub Desktop.
--- FAIL: TestJXNamespace (146.62s)
jx_namespace_test.go:33:
Error Trace: jx_namespace_test.go:33
Error: Received unexpected error:
Get https://jx-vault-tekton-mole.infra.jrawlings.co.uk/v1/sys/health?drsecondarycode=299&performancestandbycode=299&sealedcode=299
&standbycode=299&uninitcode=299: dial tcp 34.76.179.27:443: connect: connection refused
reading vault health
github.com/jenkins-x/jx/pkg/kube/vault.waitForVault.func1
/workspace/source/pkg/kube/vault/vault_factory.go:157
github.com/cenkalti/backoff.RetryNotify
/workspace/go/pkg/mod/github.com/cenkalti/[email protected]+incompatible/retry.go:37
github.com/cenkalti/backoff.Retry
/workspace/go/pkg/mod/github.com/cenkalti/[email protected]+incompatible/retry.go:24
github.com/jenkins-x/jx/pkg/util.RetryWithInitialDelaySlower
/workspace/source/pkg/util/retry.go:35
github.com/jenkins-x/jx/pkg/kube/vault.waitForVault
/workspace/source/pkg/kube/vault/vault_factory.go:151
github.com/jenkins-x/jx/pkg/kube/vault.(*VaultClientFactory).NewVaultClient
/workspace/source/pkg/kube/vault/vault_factory.go:106
github.com/jenkins-x/jx/pkg/jx/cmd/clients.(*factory).CreateVaultClient
/workspace/source/pkg/jx/cmd/clients/factory.go:491
github.com/jenkins-x/jx/pkg/jx/cmd/clients.(*factory).CreateSystemVaultClient
/workspace/source/pkg/jx/cmd/clients/factory.go:423
github.com/jenkins-x/jx/pkg/jx/cmd/clients.(*factory).CreateAuthConfigService
/workspace/source/pkg/jx/cmd/clients/factory.go:371
github.com/jenkins-x/jx/pkg/jx/cmd/opts.(*CommonOptions).CreateGitAuthConfigServiceFromSecrets
/workspace/source/pkg/jx/cmd/opts/auth.go:104
github.com/jenkins-x/jx/pkg/jx/cmd/opts.(*CommonOptions).CreateGitAuthConfigService
/workspace/source/pkg/jx/cmd/opts/auth.go:94
github.com/jenkins-x/jx/pkg/jx/cmd_test.TestJXNamespace
/workspace/source/pkg/jx/cmd/jx_namespace_test.go:32
testing.tRunner
/usr/local/go/src/testing/testing.go:827
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1333
wait for vault to be initialized and unsealed
github.com/jenkins-x/jx/pkg/kube/vault.(*VaultClientFactory).NewVaultClient
/workspace/source/pkg/kube/vault/vault_factory.go:108
github.com/jenkins-x/jx/pkg/jx/cmd/clients.(*factory).CreateVaultClient
/workspace/source/pkg/jx/cmd/clients/factory.go:491
github.com/jenkins-x/jx/pkg/jx/cmd/clients.(*factory).CreateSystemVaultClient
/workspace/source/pkg/jx/cmd/clients/factory.go:423
github.com/jenkins-x/jx/pkg/jx/cmd/clients.(*factory).CreateAuthConfigService
/workspace/source/pkg/jx/cmd/clients/factory.go:371
github.com/jenkins-x/jx/pkg/jx/cmd/opts.(*CommonOptions).CreateGitAuthConfigServiceFromSecrets
/workspace/source/pkg/jx/cmd/opts/auth.go:104
github.com/jenkins-x/jx/pkg/jx/cmd/opts.(*CommonOptions).CreateGitAuthConfigService
/workspace/source/pkg/jx/cmd/opts/auth.go:94
github.com/jenkins-x/jx/pkg/jx/cmd_test.TestJXNamespace
/workspace/source/pkg/jx/cmd/jx_namespace_test.go:32
testing.tRunner
/usr/local/go/src/testing/testing.go:827
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1333
Test: TestJXNamespace
Messages: Failed to create GitAuthConfigService
FAIL
coverage: 13.6% of statements
FAIL github.com/jenkins-x/jx/pkg/jx/cmd 460.752s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment