Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestTeleportClient_Login_local/OTP_device_login_with_hijack flakiness #16037

Closed
strideynet opened this issue Sep 1, 2022 · 3 comments
Closed
Assignees

Comments

@strideynet
Copy link
Contributor

Failure

Link(s) to logs

Relevant snippet

exit status 1
time="2022-08-31T18:05:23Z" level=fatal msg="FAILED: unit tests failed\n\texit status 2"
time="2022-08-31T18:05:23Z" level=info msg="Removing data dir"
time="2022-08-31T18:05:23Z" level=info msg="Waiting for etcd process to exit..."
time="2022-08-31T18:05:23Z" level=info msg="Killing etcd process"
time="2022-08-31T18:05:23Z" level=info msg="Uploading artifact \"/workspace/test-logs/unit.json\" as \"228ddfac-29a3-4570-a797-a96ff6c9679c/artifacts/unit.json\""
time="2022-08-31T18:05:23Z" level=info msg="Uploading artifact \"/workspace/test-logs/ci.json\" as \"228ddfac-29a3-4570-a797-a96ff6c9679c/artifacts/ci.json\""
time="2022-08-31T18:05:23Z" level=info msg="Uploading artifact \"/workspace/test-logs/api.json\" as \"228ddfac-29a3-4570-a797-a96ff6c9679c/artifacts/api.json\""
time="2022-08-31T18:05:22Z" level=info msg="Scanning for artifacts..."
make: *** [test-go] Error 1
Makefile:518: recipe for target 'test-go' failed
===================================================
    --- FAIL: TestTeleportClient_Login_local/OTP_device_login_with_hijack (5.00s)
        	Test:       	TestTeleportClient_Login_local/OTP_device_login_with_hijack
        	            	Post "https://localhost:45505/v1/webapi/mfa/login/finish": context deadline exceeded
        	Error:      	Received unexpected error:
        	Error Trace:	api_login_test.go:227
    api_login_test.go:227: 
WARNING: You are using insecure connection to SSH proxy https://localhost:45505
=== RUN   TestTeleportClient_Login_local/OTP_device_login_with_hijack
===================================================
OUTPUT github.com/gravitational/teleport/lib/client.TestTeleportClient_Login_local/OTP_device_login_with_hijack
===================================================
--- FAIL: TestTeleportClient_Login_local (23.64s)
=== RUN   TestTeleportClient_Login_local
===================================================
OUTPUT github.com/gravitational/teleport/lib/client.TestTeleportClient_Login_local
===================================================
FAIL: github.com/gravitational/teleport/lib/client.TestTeleportClient_Login_local
FAIL: github.com/gravitational/teleport/lib/client.TestTeleportClient_Login_local/OTP_device_login_with_hijack
FAIL: github.com/gravitational/teleport/lib/client
===================================================
4068 tests passed. 3 failed, 79 skipped
===================================================
@codingllama
Copy link
Contributor

Thanks for reporting, Noah.

I went back a good number of commits, all the way to 9ca045b, which was the last time I did work here, but I'm having trouble getting even that revision to work. I'm pretty sure that commit was good, no theories yet as why it's now causing problems.

I'm not sure I'll be able to make progress in this one before the break, so copying @tobiaszheller as well. Maybe you'll have some time and/or manage some progress while I'm out. ;)

@codingllama
Copy link
Contributor

Never mind the above - it seems the test needs access to /var/lib/teleport, despite all the effort to make it unnecessary. Now it passes consistently. ¯\(ツ)

@zmb3
Copy link
Collaborator

zmb3 commented Jan 18, 2024

Closing since there have been no recent reports

@zmb3 zmb3 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants