-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
flakesFlakes from Continuous IntegrationFlakes from Continuous Integrationkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.machinewindowsissue/bug on Windowsissue/bug on Windows
Description
Issue Description
Machine e2e test podman machine cp / all tests
fails from time to time:
[FAILED] DeferCleanup callback returned error: remove C:\Users\ADMINI~1\AppData\Local\Temp\ginkgo552643153\foo-dir\bar.txt: The process cannot access the file because it is being used by another process.
In [DeferCleanup (Each)] at: C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo[/vendor/github.com/onsi/ginkgo/v2/internal/testingtproxy/testing_t_proxy.go:153](https://github.com/containers/podman/blob/93675fdba2e46c93442d45419cbb9fb3e80f8108/vendor/github.com/onsi/ginkgo/v2/internal/testingtproxy/testing_t_proxy.go#L153) @ 03/18/25 05:05:36.307
Full Stack Trace
< Exit [DeferCleanup (Each)] podman machine cp - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo[/vendor/github.com/onsi/ginkgo/v2/internal/testingtproxy/testing_t_proxy.go:153](https://github.com/containers/podman/blob/93675fdba2e46c93442d45419cbb9fb3e80f8108/vendor/github.com/onsi/ginkgo/v2/internal/testingtproxy/testing_t_proxy.go#L153) @ 03/18/25 05:05:36.307 (1ms)
> Enter [DeferCleanup (Each)] podman machine cp - C:/Users/Administrator/AppData/Local/cirrus-ci-build/repo[/vendor/github.com/onsi/ginkgo/v2/internal/testingtproxy/testing_t_proxy.go:153](https://github.com/containers/podman/blob/93675fdba2e46c93442d45419cbb9fb3e80f8108/vendor/github.com/onsi/ginkgo/v2/internal/testingtproxy/testing_t_proxy.go#L153) @ 03/18/25 05:05:36.307
I can reproduce it systematically on my local machine
Steps to reproduce the issue
Locally:
$remotetags = "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp"
$focus_file = "cp_test.go"
$focus_test = "all tests"
./test/tools/build/ginkgo.exe `
-v --tags "$remotetags" `
--focus-file $focus_file `
--focus "$focus_test" `
./pkg/machine/e2e/.
Metadata
Metadata
Assignees
Labels
flakesFlakes from Continuous IntegrationFlakes from Continuous Integrationkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.Assist humans wanting to comment on an old issue or PR with locked comments.machinewindowsissue/bug on Windowsissue/bug on Windows