Package: consul / 1.0.7~dfsg1-5

Metadata

Package Version Patches format
consul 1.0.7~dfsg1-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 update test fixture paths.patch | (download)

tlsutil/config_test.go | 62 31 + 31 - 0 !
1 file changed, 31 insertions(+), 31 deletions(-)

 modify test fixture paths
 The Debian packging process executes Go tests in a subdirectory
 which is not handled correctly.  The path to each test fixture
 file has been updated to reflect this.
0002 disable slow test.patch | (download)

tlsutil/config_test.go | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 disable test.


import_kr text.patch | (download)

command/flags/usage.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 replace needless fork.


test fix TestRetryer.patch | (download)

testutil/retry/retry_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 attempt to fix randomly failing test.
~~~~
 FAIL: TestRetryer (0.43s)
    FAIL: TestRetryer/counter (0.23s)
    retry_test.go:39: loop took 226.978951ms want 200ms (+/- 25ms)
~~~~


test skip TestAgent_CheckCriticalTime.patch | (download)

agent/local/state_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestAgent_CheckCriticalTime (0.10s)
 state_test.go:1423: bad: &local.CheckState{Check:(*structs.HealthCheck)(0x133620a0), Token:"", CriticalTime:time.Time{wall:0xbec59342abd73032, ext:36343413, loc:(*time.Location)(0x138dc28)}, DeferCheck:(*time.Timer)(nil), InSync:false, Deleted:false}
~~~~


test skip TestAgent_HTTPCheck_EnableAgentTLSForChecks.patch | (download)

agent/agent_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestAgent_HTTPCheck_EnableAgentTLSForChecks (17.24s)
    
test skip TestAPI_AgentMembers.patch | (download)

api/agent_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestAPI_AgentMembers (10.19s)
 api_test.go:49: failed waiting for server to start: failed waiting for leader
~~~~


test skip TestAPI_CatalogServices_NodeMetaFilter.patch | (download)

api/catalog_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test.
~~~~
 FAIL: TestAPI_CatalogServices_NodeMetaFilter (10.43s)
    api_test.go:49: failed waiting for server to start: failed waiting for leader
~~~~


test skip TestAPI_LockMonitorRetry.patch | (download)

api/lock_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestAPI_LockMonitorRetry (10.02s)
    api_test.go:49: failed waiting for server to start: failed waiting for leader
~~~~


test skip TestCatalog_ListNodes.patch | (download)

agent/consul/catalog_endpoint_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestCatalog_ListNodes (1.12s)
 status_endpoint_test.go:19: err: dial tcp 127.0.0.1:50522: i/o timeout
~~~~


test skip TestCatalogNodes_WanTranslation.patch | (download)

agent/catalog_endpoint_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestCatalogNodes_WanTranslation (8.65s)
panic: failed [recovered]
	panic: failed

goroutine 934 [running]:
testing.tRunner.func1(0xc4202f8c30)
	/usr/lib/go-1.10/src/testing/testing.go:742 +0x29d
panic(0x10b0fa0, 0x14a0630)
	/usr/lib/go-1.10/src/runtime/panic.go:502 +0x229
github.com/hashicorp/consul/agent.(*panicFailer).FailNow(0x1c861b8)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/agent/testagent.go:98 +0x39
github.com/hashicorp/consul/testutil/retry.run.func1()
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:118 +0x79
github.com/hashicorp/consul/testutil/retry.(*Timer).NextOr(0xc421126330, 0xc420c088c0, 0xc4217a3090)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:197 +0x130
github.com/hashicorp/consul/testutil/retry.run(0x14a6a40, 0xc421126330, 0x14aa5a0, 0x1c861b8, 0xc420c08880)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:120 +0xc1
github.com/hashicorp/consul/testutil/retry.Run(0x14aa5a0, 0x1c861b8, 0xc420c08880)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:85 +0x7a
github.com/hashicorp/consul/agent.(*TestAgent).Start(0xc42088c200, 0xc42088c200)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/agent/testagent.go:183 +0xa1f
github.com/hashicorp/consul/agent.NewTestAgent(0x13a87c9, 0x1f, 0x13cb762, 0x4a, 0x2)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/agent/testagent.go:91 +0x7f
github.com/hashicorp/consul/agent.TestCatalogNodes_WanTranslation(0xc4202f8c30)
	/build/consul-1.0.7~dfsg1/_build/src/github.com/hashicorp/consul/agent/catalog_endpoint_test.go:153 +0x7c
testing.tRunner(0xc4202f8c30, 0x13d9020)
	/usr/lib/go-1.10/src/testing/testing.go:777 +0xd0
created by testing.(*T).Run
	/usr/lib/go-1.10/src/testing/testing.go:824 +0x2e0
~~~~


test skip TestDNS_NodeLookup_TXT.patch | (download)

agent/dns_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
FAIL: TestDNS_NodeLookup_TXT (7.64s)
panic: failed [recovered]
    panic: failed

goroutine 989 [running]:
testing.tRunner.func1(0xc420362f00)
    /usr/lib/go-1.10/src/testing/testing.go:742 +0x29d
panic(0x10b0fa0, 0x14a05f0)
    /usr/lib/go-1.10/src/runtime/panic.go:502 +0x229
github.com/hashicorp/consul/agent.(*panicFailer).FailNow(0x1c8d1b8)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/agent/testagent.go:98 +0x39
github.com/hashicorp/consul/testutil/retry.run.func1()
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:118 +0x79
github.com/hashicorp/consul/testutil/retry.(*Timer).NextOr(0xc4201aea20, 0xc420508c40, 0xc4203aba70)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:197 +0x130
github.com/hashicorp/consul/testutil/retry.run(0x14a69e0, 0xc4201aea20, 0x14aa540, 0x1c8d1b8, 0xc420508c00)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:120 +0xc1
github.com/hashicorp/consul/testutil/retry.Run(0x14aa540, 0x1c8d1b8, 0xc420508c00)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:85 +0x7a
github.com/hashicorp/consul/agent.(*TestAgent).Start(0xc4201ca100, 0xc4201ca100)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/agent/testagent.go:183 +0xa1f
github.com/hashicorp/consul/agent.NewTestAgent(0x139acb5, 0x16, 0x0, 0x0, 0xc42189a601)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/agent/testagent.go:91 +0x7f
github.com/hashicorp/consul/agent.TestDNS_NodeLookup_TXT(0xc420362f00)
    /var/lib/gitlab-runner/builds/736b76b0/0/go-team/packages/consul/_build/src/github.com/hashicorp/consul/agent/dns_test.go:431 +0x5e
testing.tRunner(0xc420362f00, 0x13d9138)
    /usr/lib/go-1.10/src/testing/testing.go:777 +0xd0
created by testing.(*T).Run
    /usr/lib/go-1.10/src/testing/testing.go:824 +0x2e0
FAIL	github.com/hashicorp/consul/agent	9.886s
~~~~


test skip TestDNS_ServiceLookup_ARecordLimits.patch | (download)

agent/dns_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable randomly failing test(s).
~~~~
testagent.go:197: TestDNS_ServiceLookup_ARecordLimits/ARecordLimit_0_qType:_1Catalog.ListNodes failed:No cluster leader

panic: failed [recovered]
	panic: failed

goroutine 12724 [running]:
testing.tRunner.func1(0xc421ddc780)
	/usr/lib/go-1.10/src/testing/testing.go:742 +0x29d
panic(0x10aff60, 0x149f450)
	/usr/lib/go-1.10/src/runtime/panic.go:502 +0x229
github.com/hashicorp/consul/agent.(*panicFailer).FailNow(0x1c851b8)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/agent/testagent.go:98 +0x39
github.com/hashicorp/consul/testutil/retry.run.func1()
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:118 +0x79
github.com/hashicorp/consul/testutil/retry.(*Timer).NextOr(0xc4227f37d0, 0xc420639a20, 0xc422bc06d0)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:197 +0x130
github.com/hashicorp/consul/testutil/retry.run(0x14a5800, 0xc4227f37d0, 0x14a9380, 0x1c851b8, 0xc420639980)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:120 +0xc1
github.com/hashicorp/consul/testutil/retry.Run(0x14a9380, 0x1c851b8, 0xc420639980)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/testutil/retry/retry.go:85 +0x7a
github.com/hashicorp/consul/agent.(*TestAgent).Start(0xc420858000, 0xc420858000)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/agent/testagent.go:183 +0xa1f
github.com/hashicorp/consul/agent.NewTestAgent(0xc421367a00, 0x3b, 0xc421654000, 0x5d, 0x1)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/agent/testagent.go:91 +0x7f
github.com/hashicorp/consul/agent.checkDNSService(0xc421ddc780, 0x1e, 0x1, 0xc4200400ff, 0x1, 0x1b22000, 0x3, 0x0, 0x0)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/agent/dns_test.go:3336 +0x256
github.com/hashicorp/consul/agent.TestDNS_ServiceLookup_ARecordLimits.func1(0xc421ddc780)
	/build/consul-1.0.7~dfsg/_build/src/github.com/hashicorp/consul/agent/dns_test.go:3474 +0x9e
testing.tRunner(0xc421ddc780, 0xc4206167e0)
	/usr/lib/go-1.10/src/testing/testing.go:777 +0xd0
created by testing.(*T).Run
	/usr/lib/go-1.10/src/testing/testing.go:824 +0x2e0
FAIL	github.com/hashicorp/consul/agent	39.481s
~~~~


test skip TestHTTPAPI_MethodNotAllowed_OSS.patch | (download)

agent/http_oss_test.go | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable failing test.
~~~~
 panic: test timed out after 20m0s
~~~~


test skip TestLeader_ChangeServerID.patch | (download)

agent/consul/leader_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable randomly failing test(s).
~~~~
 FAIL: TestLeader_ChangeServerID (7.74s)
 retry.go:116: leader_test.go:931: don't want "6ad30f66-8a8c-8267-5e51-1a71cdb342af"
 leader_test.go:933: got 2 peers want 3
~~~~


test skip TestPreparedQuery_Wrapper.patch | (download)

agent/consul/prepared_query_endpoint_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestPreparedQuery_Wrapper (0.39s)
    prepared_query_endpoint_test.go:2750: err: No path to datacenter
~~~~


test skip TestSessionTTLRenew.patch | (download)

agent/session_endpoint_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable randomly failing test(s).
~~~~
 FAIL: TestSessionTTLRenew (1.04s)
 session_endpoint_test.go:411: session '18c02742-fb63-c76f-cb4d-029a73b09278' should have renewed
~~~~


test skip TestStatsFetcher.patch | (download)

agent/consul/stats_fetcher_test.go | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 disable failing test(s).
~~~~
 FAIL: TestStatsFetcher (0.48s)
    stats_fetcher_test.go:52: bad: map[string]*autopilot.ServerStats{}
~~~~


test skip TLS.patch | (download)

agent/consul/client_test.go | 2 2 + 0 - 0 !
agent/consul/server_test.go | 1 1 + 0 - 0 !
2 files changed, 3 insertions(+)

 disable failing test(s).
~~~~
 FAIL: TestClient_SnapshotRPC_TLS (0.57s)
    client_test.go:561: err: remote error: tls: bad certificate
 FAIL: TestClient_RPC_TLS (7.03s)
    retry.go:116: client_test.go:401: ping failedNo known Consul servers
            client_test.go:401: ping failedrpc error getting client: failed to get conn: remote error: tls: bad certificate
 FAIL: TestServer_JoinLAN_TLS (7.09s)
    retry.go:116: server_test.go:504: didn't find map[cf672f21-18c5-91a6-fb7f-a1499998aed0:true]
            server_test.go:504: didn't find map[6f159cad-04c0-27dc-2d0c-0649f25946ac:true cf672f21-18c5-91a6-fb7f-a1499998aed0:true]
            server_test.go:504: didn't find map[cf672f21-18c5-91a6-fb7f-a1499998aed0:true 6f159cad-04c0-27dc-2d0c-0649f25946ac:true]
~~~~


test skip x509.patch | (download)

tlsutil/config_test.go | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 disable failing test(s).
~~~~
 FAIL: TestConfig_outgoingWrapper_OK (0.01s)
    config_test.go:285: write err: x509: certificate has expired or is not yet valid
 FAIL: TestConfig_outgoingWrapper_BadCert (0.01s)
    config_test.go:354: should get hostname err: x509: certificate has expired or is not yet valid
 FAIL: TestConfig_wrapTLS_OK (0.01s)
    config_test.go:381: wrapTLS err: x509: certificate has expired or is not yet valid
~~~~


vendor_drop_discover_providers.patch | (download)

vendor/github.com/hashicorp/go-discover/discover.go | 8 0 + 8 - 0 !
1 file changed, 8 deletions(-)

 disable providers depending on non-packaged libraries.