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

Possible Issue with Recent Reauth Changes #855

Closed
jtopjian opened this issue Mar 29, 2018 · 6 comments
Closed

Possible Issue with Recent Reauth Changes #855

jtopjian opened this issue Mar 29, 2018 · 6 comments
Assignees

Comments

@jtopjian
Copy link
Contributor

Since #743 was merged, we've been seeing random unit test failures both in Travis and OpenLab:

2018-03-29 17:32:32.861496 | ubuntu-xenial-ut | === RUN   TestConcurrentReauth
2018-03-29 17:32:32.861551 | ubuntu-xenial-ut | --- FAIL: TestConcurrentReauth (18.02s)
2018-03-29 17:32:32.861678 | ubuntu-xenial-ut | 	convenience.go:35: �[1;31mFailure in provider_client_test.go, line 120: expected �[0m�[1;32m1�[0m�[1;31m but got �[0m�[1;33m18�[0m�[1;31m�[0m

(http://logs.openlabtesting.org/logs/49/849/2bbea63b3dff3e4c7d723da04d4694075e7c815f/check/gophercloud-unittest/ebe21e3/job-output.txt.gz)

The test will pass upon retry, so this feels like a true concurrency issue.

@jrperritt jrperritt self-assigned this Apr 1, 2018
@jrperritt
Copy link
Contributor

I'll look into this.

@jrperritt
Copy link
Contributor

jrperritt commented Apr 2, 2018

I can't reproduce this. I've run go test -v -run Reauth* -count 20 github.com/gophercloud/gophercloud/testing/... several times, and they've all passed.

@jtopjian
Copy link
Contributor Author

jtopjian commented Apr 2, 2018

Yeah, and I haven't seen any unit test failures from Travis or OpenLab for a few days now... bizarre. If it happens with Travis again, I'll make sure I don't re-run the test. Not sure what good that'll do, though.

@jtopjian
Copy link
Contributor Author

jtopjian commented Apr 5, 2018

@jrperritt Here's a recent Travis failure:

https://travis-ci.org/gophercloud/gophercloud/jobs/362271442

@jrperritt
Copy link
Contributor

Thanks, that helps. You can re-run that one if you want. I'll run the test under the race detector and see what it says.

@jtopjian
Copy link
Contributor Author

I think this has been resolved. I haven't seen the issue come back in almost two weeks. Thank you for looking into it :)

cardoe pushed a commit to cardoe/gophercloud that referenced this issue Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants