Provisioning: Disable NTP synchronization for Windows
authorJan Arve Sæther <jan-arve.saether@qt.io>
Fri, 10 Nov 2017 11:33:05 +0000 (12:33 +0100)
committerTony Sarajärvi <tony.sarajarvi@qt.io>
Mon, 22 Jan 2018 12:11:57 +0000 (12:11 +0000)
commitbc2b175b72f98789060f10c9c2a7d56648413f7e
treef9498b45cfba74354e5bc0b9300149f0cacb62e5
parentd3faf2f0df1ca362f35d8ee82a4581c795a66526
Provisioning: Disable NTP synchronization for Windows

During CI, it has been observed that some processes didn't leave their
wait state. (So they were "hanging")
During analysis of the event log on that CI node, we found out that at the
same time those processes entered this state, the NTP client set a new time
and indeed the local time of the CI node changed (it was
changed 2 hours forward in our case).
For the record, the processes we observed this with was jom.exe and
cc1plus.exe (the latter is the g++ compiler in the mingw toolchain)).

We therefore have a strong suspicion that the NTP time change was causing
the CI hang, so we simply disable it.
The virtual machine should anyway get the correct time from its VM host
when its started.

Change-Id: I1204063399e2a4741b7b26b79858759c1bc5eab2
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
(cherry picked from commit 3653630d229390c9ce5517afcce371860d2ad822)
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
coin/provisioning/common/disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-10-x86/02-disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-10-x86_64/02-disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-7-x86/02-disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-8-x86/02-disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-8-x86_64/02-disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-8.1-x86/02-disable-ntp.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-8.1-x86_64/02-disable-ntp.ps1 [new file with mode: 0644]