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

[Agent] Failing unit test TestActionStore on Windows #19919

Closed
andrewkroh opened this issue Jul 14, 2020 · 2 comments · Fixed by #20127
Closed

[Agent] Failing unit test TestActionStore on Windows #19919

andrewkroh opened this issue Jul 14, 2020 · 2 comments · Fixed by #20127
Assignees
Labels
Agent flaky-test Unstable or unreliable test cases.

Comments

@andrewkroh
Copy link
Member

TestActionStore is consistently failing on Windows.

For example: https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/7.x/31/pipeline/369

=== RUN   TestActionStore
=== RUN   TestActionStore/action_returns_empty_when_no_action_is_saved_on_disk
=== RUN   TestActionStore/will_discard_silently_unknown_action
=== RUN   TestActionStore/can_save_to_disk_known_action_type
    TestActionStore/can_save_to_disk_known_action_type: action_store_test.go:75: 
        	Error Trace:	action_store_test.go:75
        	            				action_store_test.go:29
        	Error:      	Received unexpected error:
        	            	could not replace target file C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store166669957\config.yml: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store166669957\config.yml.tmp C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store166669957\config.yml: Access is denied.
        	Test:       	TestActionStore/can_save_to_disk_known_action_type
=== RUN   TestActionStore/when_we_ACK_we_save_to_disk
    TestActionStore/when_we_ACK_we_save_to_disk: action_store_test.go:101: 
        	Error Trace:	action_store_test.go:101
        	            				action_store_test.go:29
        	Error:      	Received unexpected error:
        	            	could not replace target file C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store041062432\config.yml: rename C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store041062432\config.yml.tmp C:\Users\JENKIN~1.PAC\AppData\Local\Temp\action-store041062432\config.yml: Access is denied.
        	Test:       	TestActionStore/when_we_ACK_we_save_to_disk
--- FAIL: TestActionStore (0.04s)
@andrewkroh andrewkroh added flaky-test Unstable or unreliable test cases. Agent labels Jul 14, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 14, 2020
@ph ph self-assigned this Jul 14, 2020
@ph
Copy link
Contributor

ph commented Jul 14, 2020

going to temporary skip it and work on it.

ph added a commit to ph/beats that referenced this issue Jul 14, 2020
ph added a commit to ph/beats that referenced this issue Jul 14, 2020
ph added a commit that referenced this issue Jul 14, 2020
@ph ph assigned michalpristas and unassigned ph Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent flaky-test Unstable or unreliable test cases.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants