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

internal/watcher: TestRefreshGracePeriod is failing on our kinetic box #471

Closed
didrocks opened this issue Oct 20, 2022 · 2 comments
Closed
Labels
jira Import to Jira

Comments

@didrocks
Copy link
Member

This test is failing for jibel and I on kinetic

time="2022-10-20T11:50:34+02:00" level=debug msg="Watching /tmp/TestRefreshGracePeriod1003041317/001/withsubdir and children"
time="2022-10-20T11:50:34+02:00" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1003041317/001/withsubdir"
time="2022-10-20T11:50:34+02:00" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI"
time="2022-10-20T11:50:34+02:00" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexists"
time="2022-10-20T11:50:34+02:00" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir"
time="2022-10-20T11:50:34+02:00" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir/GPT.INI"
time="2022-10-20T11:50:34+02:00" level=debug msg="Watching: /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir/alreadyexists"
time="2022-10-20T11:50:34+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexists\""
time="2022-10-20T11:50:34+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexists\""
time="2022-10-20T11:50:34+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexists\""
time="2022-10-20T11:50:34+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexists\""
time="2022-10-20T11:50:35+02:00" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI"
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir/alreadyexists\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir/alreadyexists\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir/alreadyexists\""
time="2022-10-20T11:50:35+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/alreadyexistsDir/alreadyexists\""
time="2022-10-20T11:50:36+02:00" level=info msg="Bumping version for /tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI"
time="2022-10-20T11:50:36+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:36+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:36+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:36+02:00" level=debug msg="Got event: WRITE         \"/tmp/TestRefreshGracePeriod1003041317/001/withsubdir/GPT.INI\""
time="2022-10-20T11:50:41+02:00" level=info msg="Watcher stopped"
--- FAIL: TestRefreshGracePeriod (7.19s)
    watcher_test.go:222: 
        	Error Trace:	/tmp/adsys/internal/watcher/watcher_test.go:433
        	            				/tmp/adsys/internal/watcher/watcher_test.go:222
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 3
        	Test:       	TestRefreshGracePeriod
        	Messages:   	GPT.ini version is not equal to the expected one
    watcher_test.go:234: 
        	Error Trace:	/tmp/adsys/internal/watcher/watcher_test.go:433
        	            				/tmp/adsys/internal/watcher/watcher_test.go:234
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 4
        	Test:       	TestRefreshGracePeriod
        	Messages:   	GPT.ini version is not equal to the expected one
    watcher_test.go:240: 
        	Error Trace:	/tmp/adsys/internal/watcher/watcher_test.go:433
        	            				/tmp/adsys/internal/watcher/watcher_test.go:240
        	Error:      	Not equal: 
        	            	expected: 3
        	            	actual  : 4
        	Test:       	TestRefreshGracePeriod
        	Messages:   	GPT.ini version is not equal to the expected one
FAIL
FAIL	github.com/ubuntu/adsys/internal/watcher	7.196s
FAIL
@didrocks didrocks added the jira Import to Jira label Oct 20, 2022
@denisonbarbosa
Copy link
Member

Update: this test is still flacky: https://github.com/ubuntu/adsys/actions/runs/4316205169/jobs/7531665406

@jibel
Copy link
Collaborator

jibel commented Oct 19, 2023

Not reproducible

@jibel jibel closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira Import to Jira
Projects
None yet
Development

No branches or pull requests

3 participants