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

ci/test: Flaky reloader test. #2622

Closed
bwplotka opened this issue May 18, 2020 · 14 comments · Fixed by #2874 or #3798
Closed

ci/test: Flaky reloader test. #2622

bwplotka opened this issue May 18, 2020 · 14 comments · Fixed by #2874 or #3798

Comments

@bwplotka
Copy link
Member

https://circleci.com/gh/thanos-io/thanos/9139?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

I remember @lilic was touching this test lately, so you mavbe you have idea? I did not check closer yet (:

@lilic
Copy link
Contributor

lilic commented May 18, 2020

Was I? :) I was touching the rule test, not reloader one. https://github.com/thanos-io/thanos/blob/master/pkg/reloader/reloader_test.go#L167 If you think it's related to my changes, I can have a look, but did not touch that test specifically.

@bwplotka
Copy link
Member Author

Ack, no worries, just yolo ping

@bwplotka
Copy link
Member Author

bwplotka commented Jun 3, 2020

@stale
Copy link

stale bot commented Jul 3, 2020

Hello 👋 Looks like there was no activity on this issue for last 30 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for next week, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jul 3, 2020
@bwplotka bwplotka removed the stale label Jul 7, 2020
@cuotos
Copy link
Contributor

cuotos commented Jul 9, 2020

Has anyone been able to replicate this anywhere other than circle?

@bwplotka
Copy link
Member Author

Not really - it's just slow CI. Looking on this now

@bwplotka
Copy link
Member Author

The problem is that's it's time based:

	reloadsSeen := 0
		for {
			select {
			case <-ctx.Done():
				return
			case <-time.After(300 * time.Millisecond):
			}

			rel := reloads.Load().(int)
			if rel <= reloadsSeen {
				continue
			}

@bwplotka
Copy link
Member Author

Fixed #2874

@kakkoyun
Copy link
Member

kakkoyun commented Sep 7, 2020

Re-opening this issue again. Reloader test become flaky again.

@stale
Copy link

stale bot commented Nov 7, 2020

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Nov 7, 2020
@bwplotka
Copy link
Member Author

bwplotka commented Nov 7, 2020 via email

@stale stale bot removed the stale label Nov 7, 2020
@stale
Copy link

stale bot commented Jan 6, 2021

Hello 👋 Looks like there was no activity on this issue for the last two months.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

@stale stale bot added the stale label Jan 6, 2021
@stale
Copy link

stale bot commented Jan 20, 2021

Closing for now as promised, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Jan 20, 2021
@bwplotka bwplotka reopened this Feb 5, 2021
@stale stale bot removed the stale label Feb 5, 2021
@bwplotka
Copy link
Member Author

bwplotka commented Feb 5, 2021

Let's get into this (: It's still causing problems: #3773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants