-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
VPC: Win2012 unstable when booting VM / running playbook #2056
Comments
The Vagrant VM consistently says |
@Willsparker Why we don't fix it for real, for example by regenerating the image regularly or purchasing a license? You cannot rearm it forever. |
AFAIK, We could rearm it forever. When |
Been able to automatically rearm the evaluation license using VPC run : https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=Win2012,label=vagrant/1116/console |
Follow up runs: It should be noted that runs Otherwise, it appears that forcing the |
https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/1122/ so, out of 4, 3 of them got through the playbook, 1 timed out with MSVS_2017. The rearming does seem to make it more stable, so I'll make the PR, but there's still a fair bit of work to make it stable. Next is the Python script. Out of the 3 runs that got past the playbooks, they all failed at the Python script starting. Chances are, something is wrong with it. The error message:
(That's from 1122) WinRM being unstable is not news: However, I'm still going to double check that the script works (locally). The linked PR above may help as it implements a retry if there's a Connection Error. Considering we already use my forked version of |
I've determined that the python script does work, the issue may occur from the port number that For ease, I'll also run this locally, as the machine that handles VPC is currently executing a QPC job. |
The changes I've made have appeared to worked! Run 1124. Rerunning just to confirm: If this works as expected, I'll PR the changes 👍 |
Excellent, it works! |
Logs: https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=Win2012,label=vagrant/1114/console ,
https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=Win2012,label=vagrant/1112/console ,
https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck/OS=Win2012,label=vagrant/1097/console
The Windows VPC seems to be 'weird'. It will randomly disconnect from the VM halway through a task (i.e. from 1112):
Occasionally, it won't even get to the start the playbook (e.g. from 1097):
I am assuming this is due to the VM closing after awhile of execution, but I don't know for sure. I have had similar things happen to me on my local machine too.
For the timeout issue, I'd first suggest increasing the boot timeout with
config.vm.boot_timeout = 600
, which bumps it up to 10 minutes, for 5. If it still times out after that, we can assume there's something causing it to hang.The text was updated successfully, but these errors were encountered: