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

Failure in tests/os_snapshot_test TestShadowCopy #3628

Closed
julio-lopez opened this issue Feb 7, 2024 · 3 comments · Fixed by #3629
Closed

Failure in tests/os_snapshot_test TestShadowCopy #3628

julio-lopez opened this issue Feb 7, 2024 · 3 comments · Fixed by #3629
Assignees
Labels
test-failure Test failure on CI, Robustness, etc. to investigate

Comments

@julio-lopez
Copy link
Collaborator

julio-lopez commented Feb 7, 2024

Since #3625

The process cannot access the file because it is being used by another process.

Details: https://github.com/kopia/kopia/actions/runs/7808046134

Ref: #3543 #3624

@julio-lopez julio-lopez added the test-failure Test failure on CI, Robustness, etc. to investigate label Feb 7, 2024
@julio-lopez julio-lopez changed the title tests/os_snapshot_test TestShadowCopy failure Failure in tests/os_snapshot_test TestShadowCopy Feb 7, 2024
@julio-lopez
Copy link
Collaborator Author

    os_snapshot_windows_test.go:42: 
        	Error Trace:	D:/a/kopia/kopia/tests/testenv/cli_test_env.go:320
        	            				D:/a/kopia/kopia/tests/testenv/cli_test_env.go:110
        	            				D:/a/kopia/kopia/tests/os_snapshot_test/os_snapshot_windows_test.go:42
        	Error:      	Received unexpected error:
        	            	exit status 1
        	Test:       	TestShadowCopy
        	Messages:   	unexpected error when running 'kopia --config-file C:\Users\RUNNER~1\AppData\Local\Temp\kopia-test3036308362\.kopia.config --no-use-credential-manager snap create C:\Users\RUNNER~1\AppData\Local\Temp\kopia-test1329266260' (stdout:
        	            	
        	            	stderr:
        	            	Snapshotting runneradmin@fv-az1495-109:C:\Users\RUNNER~1\AppData\Local\Temp\kopia-test1329266260 ...
        	            	
 | 0 hashing, 1 hashed (0 B), 0 cached (0 B), uploaded 0 B, estimating...
        	            	 ! Error when processing "95293f31-83c0-4816-976b-d716f6e67023": The process cannot access the file because it is being used by another process.

julio-lopez pushed a commit that referenced this issue Feb 7, 2024
Followup for #3624
Fixes #3628

---------

Co-authored-by: Shikhar Mall <mall.shikhar.in@gmail.com>
@julio-lopez
Copy link
Collaborator Author

Thanks @aaron-kasten for tracking down and addressing the issues.

@julio-lopez
Copy link
Collaborator Author

@mxk FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test-failure Test failure on CI, Robustness, etc. to investigate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants