-
Notifications
You must be signed in to change notification settings - Fork 286
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
Acceptance tests fail on Windows due to volume mounts #544
Comments
Current status:
Next step: update the worker? |
Managed to re-install Docker Desktop, left breadcrumbs here: https://github.com/buildpacks/ci/wiki/Windows-worker-configuration |
Update: the existing worker is now unusably slow (specifically, network connections). I tried spinning up a brand new medium sized VM and it is also unusably slow. Opened a ticket. Looked into whether a GCP-provisioned Windows Server 2019 VM can do the job for us. I don't think it will work - trying to start Docker Desktop fails with "Failed to start the virtual machine 'DockerDesktopVM' because one of the Hyper-V components is not running." which seems to be a nested virtualization problem (googling around, suggested fixes include "expose hardware assisted virtualization to the guest OS" in vsphere; meanwhile GCP documentation indicates that Hyper-V containers are not supported). Next steps - hope that support will fix our issue; investigate Azure? |
The existing worker became happy and the tests passed but there now seems to be a flake: https://ci.buildpacks.io/teams/main/pipelines/pack/jobs/acceptance-lifecycle-current-windows/builds/121 Current status: wondering what other options are available, pondering in Slack. Blocking this issue on consensus around what we should do. |
To update this issue: we decided that our current configuration is good enough for now, but we'll investigate upgrading the worker to Windows Server 2019 in the future. Tests are happy so I think this issue can be closed. |
Summary
See here: https://ci.buildpacks.io/teams/main/pipelines/pack/jobs/acceptance-lifecycle-current-windows/builds/96
This line of code is failing:
pack/acceptance/acceptance_test.go
Line 501 in 007ab0c
With error message:
Error response from daemon: Drive has not been shared
The volume we are trying to mount:
C:\Users\Admin\AppData\Local\Temp\my-volume-mount-source229023759
It looks like the
C:\
drive needs to be shared.This post indicates that the settings can be updated using the Docker Desktop UI. It looks like this also requires the latest stable version as some bugs have recently been fixed around this process.
Open questions:
Reproduction
Steps
Current behavior
The tests fails
Expected behavior
I expect the tests to pass
Environment
Concourse Windows worker in Packet
pack info
docker info
The text was updated successfully, but these errors were encountered: