gravitational/teleport-plugins

TestBench is flaky

r0mant opened this issue · 0 comments

https://console.cloud.google.com/cloud-build/builds/6d2150e6-cfb1-4bcb-ae08-8c0403b90d8d?project=ci-account&authuser=1

DEBU   Looking up Teleport Enterprise distribution v10.0.0 test:TestIntegrationAuth/TestBootstrap integration/download.go:65
DEBU   Teleport binaries are found in /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin. No need to download anything test:TestIntegrationAuth/TestBootstrap integration/download.go:173
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport version test:TestIntegrationAuth/TestBootstrap integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl version test:TestIntegrationAuth/TestBootstrap integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tsh version test:TestIntegrationAuth/TestBootstrap integration/integration.go:508
DEBU   License is given as a string, writing it to a file test:TestIntegrationAuth/TestBootstrap integration/integration.go:146
DEBU   Running Auth service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-422323839/teleport-auth-2176199168.yaml test:TestIntegrationAuth/TestBootstrap integration/authservice.go:90
DEBU   Auth service process has been started pid:27953 test:TestIntegrationAuth/TestBootstrap integration/authservice.go:113
DEBU   Found addr of Auth service process: 127.0.0.1:44579 pid:27953 test:TestIntegrationAuth/TestBootstrap integration/authservice.go:151
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-422323839/teleport-auth-2176199168.yaml --auth-server 127.0.0.1:44579 status test:TestIntegrationAuth/TestBootstrap tctl/tctl.go:140
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-422323839/teleport-auth-2176199168.yaml --auth-server 127.0.0.1:44579 create test:TestIntegrationAuth/TestBootstrap tctl/tctl.go:73
DEBU   Terminating Auth service process pid:27953 test:TestIntegrationAuth/TestBootstrap integration/authservice.go:119
DEBU   Looking up Teleport Enterprise distribution v10.0.0 test:TestIntegrationAuth/TestPing integration/download.go:65
DEBU   Teleport binaries are found in /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin. No need to download anything test:TestIntegrationAuth/TestPing integration/download.go:173
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport version test:TestIntegrationAuth/TestPing integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl version test:TestIntegrationAuth/TestPing integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tsh version test:TestIntegrationAuth/TestPing integration/integration.go:508
DEBU   License is given as a string, writing it to a file test:TestIntegrationAuth/TestPing integration/integration.go:146
DEBU   Running Auth service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-3483365670/teleport-auth-1407457721.yaml test:TestIntegrationAuth/TestPing integration/authservice.go:90
DEBU   Auth service process has been started pid:28386 test:TestIntegrationAuth/TestPing integration/authservice.go:113
DEBU   Found addr of Auth service process: 127.0.0.1:36701 pid:28386 test:TestIntegrationAuth/TestPing integration/authservice.go:151
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-3483365670/teleport-auth-1407457721.yaml --auth-server 127.0.0.1:36701 status test:TestIntegrationAuth/TestPing tctl/tctl.go:140
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-3483365670/teleport-auth-1407457721.yaml --auth-server 127.0.0.1:36701 create test:TestIntegrationAuth/TestPing tctl/tctl.go:73
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-3483365670/teleport-auth-1407457721.yaml --auth-server 127.0.0.1:36701 auth sign --user vladimir --format file --overwrite --out /tmp/teleport-plugins-integration-3483365670/credentials-vladimir-669837799 test:TestIntegrationAuth/TestPing tctl/tctl.go:59
DEBU   Attempting GET 127.0.0.1:36701/webapi/find webclient/webclient.go:119
DEBU   Attempting GET 127.0.0.1:36701/webapi/find webclient/webclient.go:119
WARN   Request for GET 127.0.0.1:36701/webapi/find falling back to PLAIN HTTP webclient/webclient.go:137
DEBU   Terminating Auth service process pid:28386 test:TestIntegrationAuth/TestPing integration/authservice.go:119
DEBU   Looking up Teleport Enterprise distribution v10.0.0 test:TestIntegration/TestVersion integration/download.go:65
DEBU   Teleport binaries are found in /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin. No need to download anything test:TestIntegration/TestVersion integration/download.go:173
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport version test:TestIntegration/TestVersion integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl version test:TestIntegration/TestVersion integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tsh version test:TestIntegration/TestVersion integration/integration.go:508
DEBU   License is given as a string, writing it to a file test:TestIntegration/TestVersion integration/integration.go:146
DEBU   Looking up Teleport Enterprise distribution v10.0.0 test:TestIntegrationProxy/TestPing integration/download.go:65
DEBU   Teleport binaries are found in /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin. No need to download anything test:TestIntegrationProxy/TestPing integration/download.go:173
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport version test:TestIntegrationProxy/TestPing integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl version test:TestIntegrationProxy/TestPing integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tsh version test:TestIntegrationProxy/TestPing integration/integration.go:508
DEBU   License is given as a string, writing it to a file test:TestIntegrationProxy/TestPing integration/integration.go:146
DEBU   Running Auth service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-4060495842/teleport-auth-1789928086.yaml test:TestIntegrationProxy/TestPing integration/authservice.go:90
DEBU   Auth service process has been started pid:28688 test:TestIntegrationProxy/TestPing integration/authservice.go:113
DEBU   Found addr of Auth service process: 127.0.0.1:33275 pid:28688 test:TestIntegrationProxy/TestPing integration/authservice.go:151
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-4060495842/teleport-auth-1789928086.yaml --auth-server 127.0.0.1:33275 status test:TestIntegrationProxy/TestPing tctl/tctl.go:140
DEBU   Running Proxy service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-4060495842/teleport-proxy-1348629473.yaml test:TestIntegrationProxy/TestPing integration/proxyservice.go:95
DEBU   Proxy service process has been started pid:28737 test:TestIntegrationProxy/TestPing integration/proxyservice.go:118
DEBU   Found all addrs of Proxy service process addr_ssh:127.0.0.1:0 addr_tun:localhost:41283 addr_web:localhost:42729 pid:28737 test:TestIntegrationProxy/TestPing integration/proxyservice.go:165
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-4060495842/teleport-auth-1789928086.yaml --auth-server 127.0.0.1:33275 create test:TestIntegrationProxy/TestPing tctl/tctl.go:73
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-4060495842/teleport-auth-1789928086.yaml --auth-server 127.0.0.1:33275 auth sign --user vladimir --format file --overwrite --out /tmp/teleport-plugins-integration-4060495842/credentials-vladimir-3447046333 test:TestIntegrationProxy/TestPing tctl/tctl.go:59
DEBU   Attempting GET localhost:42729/webapi/find webclient/webclient.go:119
DEBU   Attempting GET localhost:42729/webapi/find webclient/webclient.go:119
DEBU   Terminating Proxy service process pid:28737 test:TestIntegrationProxy/TestPing integration/proxyservice.go:124
DEBU   Terminating Auth service process pid:28688 test:TestIntegrationProxy/TestPing integration/authservice.go:119
DEBU   Looking up Teleport Enterprise distribution v10.0.0 test:TestIntegrationSSH/TestBench integration/download.go:65
DEBU   Teleport binaries are found in /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin. No need to download anything test:TestIntegrationSSH/TestBench integration/download.go:173
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport version test:TestIntegrationSSH/TestBench integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl version test:TestIntegrationSSH/TestBench integration/integration.go:508
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tsh version test:TestIntegrationSSH/TestBench integration/integration.go:508
DEBU   License is given as a string, writing it to a file test:TestIntegrationSSH/TestBench integration/integration.go:146
DEBU   Running Auth service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-1003355266/teleport-auth-160722111.yaml test:TestIntegrationSSH/TestBench integration/authservice.go:90
DEBU   Auth service process has been started pid:28806 test:TestIntegrationSSH/TestBench integration/authservice.go:113
DEBU   Found addr of Auth service process: 127.0.0.1:45307 pid:28806 test:TestIntegrationSSH/TestBench integration/authservice.go:151
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-1003355266/teleport-auth-160722111.yaml --auth-server 127.0.0.1:45307 status test:TestIntegrationSSH/TestBench tctl/tctl.go:140
DEBU   Running Proxy service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-1003355266/teleport-proxy-3274455281.yaml test:TestIntegrationSSH/TestBench integration/proxyservice.go:95
DEBU   Proxy service process has been started pid:28834 test:TestIntegrationSSH/TestBench integration/proxyservice.go:118
DEBU   Found all addrs of Proxy service process addr_ssh:127.0.0.1:0 addr_tun:localhost:45301 addr_web:localhost:39847 pid:28834 test:TestIntegrationSSH/TestBench integration/proxyservice.go:165
DEBU   Running SSH service: /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/teleport start --debug --config /tmp/teleport-plugins-integration-1003355266/teleport-ssh-819810309.yaml test:TestIntegrationSSH/TestBench integration/sshservice.go:90
DEBU   SSH service process has been started pid:28848 test:TestIntegrationSSH/TestBench integration/sshservice.go:113
DEBU   Found addr of SSH service process: 127.0.0.1:33339 pid:28848 test:TestIntegrationSSH/TestBench integration/sshservice.go:151
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-1003355266/teleport-auth-160722111.yaml --auth-server 127.0.0.1:45307 create test:TestIntegrationSSH/TestBench tctl/tctl.go:73
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tctl --config /tmp/teleport-plugins-integration-1003355266/teleport-auth-160722111.yaml --auth-server 127.0.0.1:45307 auth sign --user root --format file --overwrite --out /tmp/teleport-plugins-integration-1003355266/credentials-root-528550020 test:TestIntegrationSSH/TestBench tctl/tctl.go:59
DEBU   Running /workspace/.teleport/teleport-ent-v10.0.0-linux-amd64-bin/tsh --insecure --identity /tmp/teleport-plugins-integration-1003355266/credentials-root-528550020 --proxy localhost:39847,0 bench root@localhost ls test:TestIntegrationSSH/TestBench tsh/tsh.go:79
DEBU   Terminating SSH service process pid:28848 test:TestIntegrationSSH/TestBench integration/sshservice.go:119
DEBU   Terminating Proxy service process pid:28834 test:TestIntegrationSSH/TestBench integration/proxyservice.go:124
DEBU   Terminating Auth service process pid:28806 test:TestIntegrationSSH/TestBench integration/authservice.go:119
--- FAIL: TestIntegrationSSH (4.05s)
    --- FAIL: TestIntegrationSSH/TestBench (4.04s)
        ssh_test.go:57: 
            	Error Trace:	ssh_test.go:57
            	Error:      	Should be zero, but was 2
            	Test:       	TestIntegrationSSH/TestBench
FAIL
FAIL	github.com/gravitational/teleport-plugins/lib/testing/integration	20.272s