aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Provisioning: disable docker test servers on Windows 10 ↵Ryan Chu2019-07-051-85/+0
| | | | | | | | | | | | | | | | | | | (x86_64)"" This reverts commit 84ff024609e4eca003c604294b4102e73deba8c3. Reason for revert: <Some VM crashed again when running docker tests> Change-Id: Iad753c1c4728c6eddc53816e2c51947ce724bf6b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Revert "Provisioning: disable docker test servers on Windows 10 (x86_64)"Ryan Chu2019-05-311-0/+85
| | | | | | | | | | | | | | This reverts commit 577d01e9dfaa9e69608097c550bd1877b5a9b735. Reason for revert: force vmx instructions to Coin level B virtual machine Change-Id: I54a97fb6dc96315768c8047d487f1ed354ab4aac Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.13' into devLiang Qi2019-05-092-0/+71
|\ | | | | | | Change-Id: Ie76cb93e16a98f3b2aae0e6785ccca539e5c5f2e
| * Provisioning: install msys2Juha Karjalainen2019-05-031-0/+70
| | | | | | | | | | | | | | | | Windows need msys2 perl for configuring openssl 1.1.1 for android. Task-number: QTQAINFRA-2327 Change-Id: I217542b6e9b3fd0f656b8186e2cde4283257dcf8 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Use ANDROID_NDK_ROOT instead of ANDROID_NDK_HOMEHeikki Halmet2019-04-231-0/+1
| | | | | | | | | | | | | | | | | | Without this binaries will be hardcoded to look in e.g /opt/android/android-ndk-r19b which means that RTA tests will fail Task-number: QTBUG-74952 Change-Id: Ic2b1297e15d905f2250333b6bc884abe2f1472d4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: disable docker test servers on Windows 10 (x86_64)Liang Qi2019-04-161-85/+0
| | | | | | | | | | | | | | This reverts commit 177df80f09f3a84af7d86390ae7160a64fad8b4c partially. Change-Id: I6c091ad48397ad221090274144ac88dfa47c0e0f Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devLiang Qi2019-04-149-52/+35
|\| | | | | | | | | | | | | Conflicts: .gitmodules Change-Id: I6f34dcaedd77228215e1cfa92cd12b6334a41834
| * Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-04-136-7/+57
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/qt3d-runtime.txt coin/platform_configs/qt5.txt coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-yocto.sh coin/provisioning/qtci-macos-10.13-x86_64/30-android.sh Change-Id: Ie428600c72b7fe4d7b5fa7583e11aebd47cfb85e
| | * Provisioning: Echo Emscripten version information to versions.txtHeikki Halmet2019-04-101-1/+4
| | | | | | | | | | | | | | | | | | | | | Change-Id: I0ad9b2299805534d1f635fd89ac74d4feb8ce5c4 Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Provisioning: Install i686 mingw on Windows 10 X64Ivan Donchevskii2019-04-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Required to compile 32-bit binaries. Fixes: QTQAINFRA-2896 Change-Id: I91a43ecf6e2c97886429c34c79591999b908879f Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Provisioning: Remove certificate printing to logJuha Karjalainen2019-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS openssl provisioning printed certificates to log. This patch prevent printing certificates to log by redirecting it to /dev/null Task-number: QTQAINFRA-2841 Change-Id: I9ec120212a1f068fa040a302cb50e775857cbb74 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
| | * Merge remote-tracking branch 'origin/5.12.2' into 5.12Liang Qi2019-03-212-2/+2
| | |\ | | | | | | | | | | | | Change-Id: I8795e84dd750cbb2b55a03c861b911f57a1e2626
| | | * Fix: Set correct path to environmental variableJuha Karjalainen2019-02-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Env variable BREAKPAD_SOURCE_DIR had /src at end which was not needed. Change-Id: I4d126c3b7c3b2da03dc2a0ba075b0d4ddad92eeb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| | * | Provisioning: Make gnuwin32 available for windows machinesHeikki Halmet2019-03-171-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This script will install gnuwin32 to the windows machines so it can be removed from qt5 Task-number: QTBUG-73422 Change-Id: I40b7963efcf047525626fe6f1e3ba50b54d68199 Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | | Provisioning: update python 2.7.14 to 2.7.16Juha Karjalainen2019-04-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.7.14 used tlsv1 which is no longer accepted by github thus needing update to newer version. Task-number: QTQAINFRA-2900 Change-Id: I4e0790854b7c0732e4064ad355d953eb7b71a2b9 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * | | Update Windows 10, MSVC 2015 and MSVC 2017Heikki Halmet2019-04-051-67/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows 10 updated to build 1809 msvc2015 update 3 14.0.25431.01 msvc2015 update 3 (KB3165756) msvc2017 5.18.2 4.7.03056 ms-zune is no longer available in the latest Windows 10 version dotnet and msvc 2015 update patch installation moved to pre-provisioning. Msvc 2015 update patch installation seems to be flaky with this windows version. Task-number: QTBUG-68190 Task-number: QTQAINFRA-2255 Task-number: QTBUG-71125 Change-Id: I87defffa488cb75f7de0909020073b35476bea80 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | | Provisioning: Update Android NDK to version r19Heikki Halmet2019-04-012-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also let's start using 64-bit Android NDK for Windows Task-number: QTQAINFRA-2568 Change-Id: I2d757aa9e43abf5118abad7bf644e17e88a2ca94 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | | Merge remote-tracking branch 'origin/5.13' into devLiang Qi2019-03-175-19/+80
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/windows/helpers.ps1 Change-Id: If35fe38af7b7b1c4bba5009180fe51f37a90aa5c
| * | | Fix provisioning disable defragmentation for windowsJuha Karjalainen2019-03-151-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no scheduled task exist it would throw error causing provisioning to fail. Now catch when scheduling does not exist. Task-number: QTQAINFRA-2823 Change-Id: I3bf24df6116b6c978171950bf5bf954f5ddee533 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-03-144-17/+40
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/linux/emsdk.sh Change-Id: I9ba6a1c52b70b605f0f856b6ce6912fd499792a3
| | * | Add Squish for MSVC2017 x64 to Win10 x64 machinesJohanna Äijälä2019-03-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also Squish for MinGW x86 on Win7 x86. Change-Id: Ie73371b7993f94f32ef1cd2b90f340cf20935e0b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * | Provisioning: Help script for removing itemsHeikki Halmet2019-03-102-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes items are locked (access denied) so we need to have function which waits and retry until removing is possible. Task-number: QTQAINFRA-2806 Change-Id: I09055c45c0e439ed1a20eb575ee79b7ca22c5745 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| | * | Update Squish to 6.4.3Johanna Aijala2019-03-072-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Froglogic has not yet released Squish for Qt5.13 but we can use Squish packages build with Qt5.12. Remove msvc12 Squish, not needed. Change-Id: I1de1bb67a5577fa7f7233c69c3a58bedd15fd16b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * | Provisioning: Update emsdk versionHeikki Halmet2019-02-261-3/+3
| | |/ | | | | | | | | | | | | | | | Task-number: QTBUG-73867 Change-Id: I2aabbecbce2fc3378db6c0747fc8146c03fac545 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* | | Split docker provisioning filesMaurice Kalinowski2019-03-152-25/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split the creation of the test images and the creation of the docker environment. This way, one can easily recreate the test images, without requiring to re-provision everything. Change-Id: I35bbe8d8bf497f16d9be92cbaa2d9001f8eee247 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Ryan Chu <ryan.chu@qt.io>
* | | Merge remote-tracking branch 'origin/5.13' into devLiang Qi2019-03-147-91/+151
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/provisioning/common/macos/docker_testserver.sh Change-Id: Ifcf97d2ff12ca390e63e814c2a377f6f9135acab
| * | Provisioning: Update emsdk versionHeikki Halmet2019-03-021-3/+3
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-73867 Change-Id: I4caab8d434787bf4323e1ea3232bf4bf23c1ec8d Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-02-274-11/+146
| |\| | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/windows/android-openssl.ps1 Change-Id: I0755066ece5458040a21b3da6ddbc1656240f5bb
| | * Fix provisioning script dxsdk.ps1Juha Karjalainen2019-02-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to typo in dxsdk.ps1 provisioning script, it did not download from cached location. Also checksum Check was missing. Task-number: QTQAINFRA-2614 Change-Id: I321549721b256b85513fa1e4ff57ab1302e28f43 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Provisioning: Install Google's Protocol BuffersHeikki Halmet2019-01-292-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | Protobuf is needed for Automotive Suite Task-number: QTQAINFRA-2314 Change-Id: I12b4248f1de5aea88f573297a47b791b5b6296fb Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| | * Provisioning: Remove Unneeded Android variablesHeikki Halmet2019-01-291-4/+0
| | | | | | | | | | | | | | | Change-Id: I7dd008aef6465fdddd07e227b48e9b6361c13f81 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Provisioning: Remove docker from macOS provisioningHeikki Halmet2019-02-232-134/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When docker provisioning starting test-server in virtual box whole virtual machine will reboot. Let's remove docker until it's more stable or we know how to fix it. Task-number: QTQAINFRA-2801 Change-Id: Iad7437a69c954a90522e44ef27015518fa3f8c1e (cherry picked from commit 1865b99b527bd9eee80c39e95d47a44096e44e6a) Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
| * | Provisioning: Update mysql to WindowsHeikki Halmet2019-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Currently this is the last version that support x86 for at least Windows. Task-number: QTQAINFRA-1996 Change-Id: Idd55694837afad2188697b4d5cc009a127ddb760 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | | Add docker container with iptablesMårten Nordheim2019-02-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used for dropping packets on a specific port. Needs to be launched with the NET_ADMIN and NET_RAW capabilities to be able to actually be able to interact with iptables, this is done in docker-compose. Change-Id: I5093d19fbc269f42fe3e314e9344866fa5b79999 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | | Add docker container with CyrusMårten Nordheim2019-02-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | For its imap server, needed in various tests Change-Id: I7ad11342f362392edec2f15c781f4c48deeeff30 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | | Add docker container with xinetdMårten Nordheim2019-02-283-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | Needed in the QUdpSocket test for the echo service and in the QSslSocket test for the daylight service. Change-Id: Ic7143eb7abd37dbf2c20ddb4b52cdd5ea3f0d193 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* | | Fix failing to disable windows update serviceJuha Karjalainen2019-02-142-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes when trying to stop windows update service it fails. Will now retry disabling wuauserv Task-number: QTQAINFRA-2632 Change-Id: I5b6bf40aa15bb1f5225dc51e2f7212a01a13e9a6 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | | Provision docker test servers based on Ubuntu 18.04Ryan Chu2019-02-026-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comparing to the previous release, Ubuntu 18.04 includes dante-server 1.4.2 by default. Therefore, it doesn't rely on the Third-party PPA. The SHA-1 of the provisioned images in docker cache: qt-test-server-apache2_18.04:69478e75b362d57691a53700434a7034d471459e qt-test-server-squid_18.04:cd5a5e2ff5d23c9a7adef1bd82847e027c090e5b qt-test-server-vsftpd_18.04:a40425c0494f8f4e8ba27ac9fb5cc02aaedd62d8 qt-test-server-ftp-proxy_18.04:5f78e23a0579a579fcae7f3e5704bb5eec0e2f6d qt-test-server-danted_18.04:d590b915cda9d524620d18a0398fdfa4d5876f97 Change-Id: Iffb4abe144a957465a2daab657c6259f0b75e800 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Start the docker machine and update with new TLS certificatesRyan Chu2019-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the system reboots, the docker machine is created, but in a stopped state. To handle the case that a developer may rerun the provisioning scripts for the missed docker images, make sure the docker machine is both started and running with new TLS certificates. Change-Id: Ibdb58152cac860132a77d6d094f9bca20a5e95e8 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | | Docker Provisioning: Install docker test servers on Windows 10 (x86_64)Ryan Chu2019-02-024-5/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build and cache docker images to VirtualBox virtual machine. 1. Download and install the docker tool kits and Apple Bonjour 2. Deploy boot2docker image into VirtualBox via docker-machine commands 3. Use Git Bash to run the shared provisioning scripts 4. Print CPU features to verify that CI has enabled VT-X/AMD-v support 5. Disable Hyper-V from Windows 10 Pro/Enterprise editions Change-Id: I5520e4a28376aba14f880c077bd7b083be971f0a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | | Display the provisioned version of docker tool kitsRyan Chu2019-02-023-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For debug purpose, print the installed version of docker, docker-compose, and docker-engine. Because 'docker info' is related to the docker-engine, postpone calling the command until docker virtual machine has been created. Change-Id: I4c869b7122b831b7f22c9c3846ac9cbe47c3b355 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Move and merge the provisioning scripts of docker to a shared folderRyan Chu2019-02-025-121/+30
|/ / | | | | | | | | | | | | | | | | | | To reuse the provisioning scripts for all platforms, they are moved to a shared folder (coin/common/shared/testserver). The scripts of macOS and linux are combined and controlled by an input parameter (macos/linux). Change-Id: Ibf9a438d1825d01d707c2fc8fbcf2bc70a8b4902 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Fix provisioning failure when unsetting proxy with no proxyJuha Karjalainen2019-01-291-2/+7
| | | | | | | | | | | | | | | | | | | | When unset-proxy.ps1 script is run when there is no proxy set unset script fails leading provisioning to fail. Now will check if proxy is set before removing registery keys for it. Task-number: QTQAINFRA-2311 Change-Id: Ic50bcebc634bb90385ca817dac9bed24e9e897ec Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-2314-323/+442
|\| | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt Change-Id: Ie21baa51738ce0761fb45fba3819b1894cc808b6
| * Accept license in Android SDK provisioningTony Sarajärvi2019-01-231-3/+4
| | | | | | | | | | | | | | | | | | A change in Android SDK prompts us now for accepting license. Task-number: QTQAINFRA-2591 Change-Id: I1ff05d84ccda743649c6d38784c6170e08f50eb1 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * Provisioning: breakpad for qt3dstudioJuha Karjalainen2019-01-173-0/+197
| | | | | | | | | | | | | | | | | | | | Breakpad https://chromium.googlesource.com/breakpad/breakpad/ sources are needed for qt3studio. Also Breakpad need sources for https://chromium.googlesource.com/linux-syscall-support. Task-number: QT3DS-2650 Change-Id: I13c7534e1c6e97a1e345dad3c2c82eeb6428313d Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Provisioning: Move Android toolchain and config to win10Simo Fält2019-01-172-1/+17
| | | | | | | | | | | | | | | | | | | | Installing Android toolchains and ssl headers to win10 template and moving Android windows platform configs to win10 from win7. Task-number: QTQAINFRA-1266 Change-Id: I9b3e3a378451e0bdfc7dc5c7b75ee035faf8994c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit 5a040ca46a46a3a45fa61036ca5115c4d0819034)
| * Provisioning: Remove update notifierHeikki Halmet2019-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | Update notifier is showing when vm is running. It can affect to test results and that's why it need to be removed Task-number: QTQAINFRA-2453 Change-Id: Icb27ba998ef9a51aaf8f40274c182b0c3dcd496a Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
| * Provisioning: Update Unified Automation OpcUA backendMaurice Kalinowski2019-01-161-24/+55
| | | | | | | | | | | | | | | | | | | | Adding in the x64 bit installers to deployment. Furthermore, we can use the msvc2015 installer to create msvc2017 binaries with Qt. After the licensing change, we will be able to generate packages for all msvc based installers. Change-Id: I96db345b535a2518c758175137c808b15130ff41 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
| * Fix provisioning ODBC environmetal variables had : at endJuha Karjalainen2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | CPLUS_INCLUDE_PATH and LIBRARY_PATH environmental variables had --> : <-- at end of variable. As this adds current dir to search path this is undesirable and causes bugs. Change-Id: Ia36c3f3f791f5d506eea15aba6be6d665049a922 Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>