aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Provisioning: Change how executables are waited to finishJuha Karjalainen2018-12-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch only affects Windows. Python3 provisioning took over 30-35 minutes. As both 32 and 64 bit versions are provisioned it took over 1h this change lowers time taken to 5 minutes. start-process with -wait flag waits for given process and its sub-processes to exit. Wait-process insteads just waits for process to exit. Change-Id: Ib9a323dcf9e2d07318a0d259a72ca4c4d0a4ed80 Reviewed-by: Simo Fält <simo.falt@qt.io>
| * | Don't set http_proxy in its own subshellTony Sarajärvi2018-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The subshell actually meant, that the http_proxy environment variable was never seen outside that check. Thus proxy was never used where this was checked. Change-Id: I069f43f13dffca98d8b60a47c2e105209018c84d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| * | Docker Provisioning: Remove the fixed version of package dependenciesRyan Chu2018-11-226-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free the dependencies of the specific Ubuntu packages. Ensure that test server is using the latest version of the Ubuntu packages to test network changes. Otherwise, all the docker files need to be manually updated when upgrading to the next Ubuntu version (e.g. 18.04). For debugging purpose, the installed packaged will be listed in the provisioning logs. Change-Id: I38d119d11f33cfd60dc34fcd57ec0fe1615e98f2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| * | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-11-205-5/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/provisioning/common/unix/mqtt_broker.sh Change-Id: I990dbf66b7120f2f1bcf202f0a2547a5ad9881f2
| | * | Replace .ci.local addresses with .intra.qt.io in provisioning scriptsTony Sarajärvi2018-11-015-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I5e5bc084faabb28ffdf0437871445ecb8970bfb3 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * | | Provisioning: Add scp and ssh location in the PATH for WindowsHeikki Halmet2018-11-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RTA needs to have these on the PATH Change-Id: I59694737e9284bc31eefcc4ff89219665c2aa430 Reviewed-by: Matti Paaso <matti.paaso@qt.io>
| * | | Provisioning: Disable notifications and remove apportHeikki Halmet2018-11-072-0/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | These can cause flakiness during tests Task-number: QTQAINFRA-2307 Change-Id: Ib8b850e3e1fabe3070bbd27785d043984e085cb7 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Provisioning: Update openssl to version 1.0.2pJuha Karjalainen2018-10-263-8/+8
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-2266 Change-Id: I3f09d9169f17bcd83dcfd72547440bca487fd9db Reviewed-by: Simo Fält <simo.falt@qt.io>
* | | Docker Provisioning: Install Avahi daemon on UbuntuRyan Chu2018-12-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avahi is a free Zeroconf implementation and provides mDNS service discovery. It enables Docker containers to publish their services on a local network. For the host systems supporting mDNS technology, they will automatically discover the services when running network tests. However, some of the Linux distributions don't have avahi-daemon installation by default (e.g. Ubuntu Server 18.04). To not surprise the user, the provisioning script will help to install avahi-daemon package. Change-Id: Ibb4c278c552c149b15da8cf7918f7f71ffa3ebec Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Assert the provisioning process in macOS if VMX is not enabledRyan Chu2018-12-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Docker-machine requires VT-x/AMD-v to build up boot2docker virtual machine. The VMX flag should be enabled when deploying the VM into Virtualbox. In the CI framework, it relies on Coin to expose the VMX flag to the CPU feature. To well handle the case that the VMX could be removed due to some CI updates, the provisioning script will assert the process with the related debug message if VMX is not found. Change-Id: I9f3f123d33629df1655a5b55d776d5361878d1f5 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Docker Provisioning: Remove the obsolete tag of test servers from UbuntuRyan Chu2018-12-101-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SHA-1 tag of a server image is generated by the shared function (sha1tree) in testserver_util.sh. The sha1tree function sorts the files by the their SHA-1 and use the accumulated results as the TAG. So that, we can assign the same SHA-1 value to a server on all the platforms. Change-Id: If87ac72f7a9c5cdebef04977480d27b26a701b73 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Docker Provisioning: Remove the fixed version of package dependenciesRyan Chu2018-12-105-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free the dependencies of the specific Ubuntu packages. Ensure that test server is using the latest version of the Ubuntu packages to test network changes. The SHA-1 of the provisioned images in docker cache: qt-test-server-apache2:537fe302f61851d1663f41495230d8e3554a4a13 qt-test-server-squid:9c32f41b19aca3d778733c4d8fb0ecc5955e893c qt-test-server-vsftpd:f3a9c8d793a77cc007c0e4e481bec01f9e3eeb7e qt-test-server-ftp-proxy:d7de8b28392d173db512a558ccc84ead8bece2ae qt-test-server-danted:35607f9b790524cf9690c7d12a9a401696b7b6b5 Change-Id: I4e6c8cb235f1f798274eb52858e06d8755ae626f Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Provisioning: Move Android toolchain and config to win10Simo Fält2018-11-061-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Provisioning: Remove environment variables from androind-opensslHeikki Halmet2018-10-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | We shouldn't need those anymore. Task-number: QTQAINFRA-1266 Change-Id: Ie2161eb1d05cc1af26cbbb1a46525a9a8d7c3a30 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Docker Provisioning: Install Docker-based test servers on macOSRyan Chu2018-10-3014-9/+273
|/ / | | | | | | | | | | | | | | | | | | Build and cache docker images based on the configurations in testserver. 1. Move the shared Docker files to common/shared/testserver 2. Deploy boot2docker image into VirtualBox via docker-machine commands. 3. Build and tag the docker images by the SHA-1 of server context. Change-Id: Ic5a588e5cc5e753ec4c4e2e1bc79917bbd03f95d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* | Update Android NDK and SDK on Windows envsTony Sarajärvi2018-10-202-40/+42
| | | | | | | | | | | | | | Task-number: QTBUG-47672 Change-Id: I3e6526b296f15927b90ab3310d91f8505b0228b3 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Update Android NDK and SDK on Linux envsTony Sarajärvi2018-10-201-6/+14
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-47672 Task-number: QTQAINFRA-2298 Done-with: Liang Qi <liang.qi@qt.io> Change-Id: I42c87d8453423530173b826c09dc6eb4bf9ad5b8 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Provisioning: Disable powershell quickeditv5.12.0-beta2Juha Karjalainen2018-10-131-0/+13
| | | | | | | | | | | | | | | | | | | | | | Powershell quickedit causes powershell window freeze until quickedit mode is exited by pressing enter. For some reason quickedit mode get's activated during build. This causes time out as agent does not get any output from processes. Task-number: QTQAINFRA-2263 Change-Id: I2878cc7a39bae504f826c5622cc5817fd227d7f0 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Provisioning: Support for WebassemblyHeikki Halmet2018-09-152-1/+82
| | | | | | | | | | | | | | | | | | This change will install specified packages of Emscripten and set up the build environment for making binary artifacts of WebAssembly Task-number: QTQAINFRA-1972 Change-Id: Ia5df6c208ea8f29ca8948f0273f321a59fc694a2 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-09-126-14/+27
|\| | | | | | | Change-Id: Iac3eb41931081588a08916ddce51dae977c6ef15
| * Provisioning: Disable mlocate from linuxHeikki Halmet2018-09-031-0/+3
| | | | | | | | | | | | | | | | No need to update the locate database Task-number: QTQAINFRA-2099 Change-Id: Iae8bf26e4b04ff9c287e9e3f4cc6f492e74355e4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Remove update-managerHeikki Halmet2018-09-031-0/+3
| | | | | | | | | | | | Task-number: QTQAINFRA-2104 Change-Id: Ieaf0801099d8c90821c2b8d9db7da47730fd8abb Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Disable Cracklib-runtimeHeikki Halmet2018-09-031-0/+4
| | | | | | | | | | | | Task-number: QTQAINFRA-2104 Change-Id: I784fa1b3d8c98d765bfdea929fdb494ca63e09d3 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Change mesa_llvmpipe to use ci-files01-hki as primary urlHeikki Halmet2018-08-251-9/+10
| | | | | | | | | | | | | | | | | | This will reduce download time Task-number: QTQAINFRA-2170 Change-Id: I8313764f7d440e2300a8efabfe4e4226a591d339 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Change jom to use ci-files01-hki as primary urlHeikki Halmet2018-08-251-3/+5
| | | | | | | | | | | | | | | | | | This will reduce download time Task-number: QTQAINFRA-2169 Change-Id: If36ac57daa7066cdd97d5d893a105b812e0eee18 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Fix activate of static linking for libclangHeikki Halmet2018-08-231-2/+2
| | | | | | | | | | | | Task-number: QTBUG-69793 Change-Id: Ib5151e16d0e040a63a3f7fce054f2fad6abb2b6d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Rebase Ubuntu provisioningv5.12.0-alpha1Joni Jäntti2018-09-122-0/+98
| | | | | | | | | | | | | | | | | | | | Some provisioning changes made to Ubuntu 16.04 didn't make it to 18.04 when the new platform was introduced. These changes need to be included. Task-number: QTQAINFRA-2210 Change-Id: Ie8c3cfda95abadbd3a416545ebcfbbab8c0cb4ad Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Use Squish 6.3.2 Qt5.10 on Qt5.12 RTA testsJohanna Aijala2018-09-112-5/+5
| | | | | | | | | | | | | | | | Update to latest Squish versions that Froglogic is providing. May need to update to Squish 6.4 later, but now we use 6.3.2. Change-Id: I89e1f20b58cdd2e948c8021a5fdc357bfc201db1 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Provisioning: Add chmod +x to Squish .run fileJoni Jäntti2018-09-111-0/+1
| | | | | | | | | | | | | | | | | | This file needs execution rights before it can be run in provisioning. Change-Id: Id49de89e0260b18a71cbcd4f4dc2b5a28e0a9890 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provision GCC 8.2 to Ubuntu 18.04 and set as default compilerTony Sarajärvi2018-09-111-0/+102
| | | | | | | | | | | | | | | | | | | | The provisioning scripts supports prebuilt binaries. When available, those are extracted taken into use. If they are not found, sources are downloaded and built. Task-number: QTQAINFRA-2066 Change-Id: Id1a59be2d1cbdb29d316ade572c3ce8f17ad3a6b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Version Xcode application bundle when provisioning macOS imagesTor Arne Vestbø2018-09-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By versioning the Xcode installation we open up for having multiple Xcode versions installed on the same image in the future, which allows for e.g. choosing the Xcode version in the build config. By running xcode-select to choose the bundle, we ensure that build steps that do not know that Xcode has been versioned will still pick up the right compiler and SDK paths when e.g. running xcrun -find clang. Done-with: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Change-Id: I0bd877bd344cebdd1fbf3a3035b00069f75c4c96 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Cleanup of RHEL 6 codes from provisioning scriptsTony Sarajärvi2018-09-043-13/+5
| | | | | | | | | | | | | | | | RHEL 6 has been removed in 5.12+ verifications, so no need to maintain those changes. Change-Id: Ie65120bf8ec7a7d0aaa71b7c28e95283263e62eb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Change 'test suite' in license headers of prov scriptsTony Sarajärvi2018-09-0415-15/+15
| | | | | | | | | | Change-Id: I9687bcb15b26287ea6eeb2098079137d6e3fc288 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Fix vclib path on x86 machinesJoni Jäntti2018-09-041-1/+8
| | | | | | | | | | | | | | | | | | The path was incorrect for x86 Windows machines since they use "Program Files" without the "(x86)" suffix. Change-Id: Iecfee3b568a4d23b056fab230891f7eeb4d63cc8 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-08-302-4/+4
|\| | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: Iaae974fbfad9130ead96d229829ab472c998e098
| * Provisioning: Update QNX packages with security patchesJoni Jantti2018-08-072-4/+4
| | | | | | | | | | | | | | | | | | | | BlackBerry has released security updates for QNX 7.0.0 and 6.6.0 that we want to include in CI since out customers will most likely have them installed. Task-number: QTQAINFRA-1535 Change-Id: I6f38ca8831bb91609f79385a2dcbc51302f68eb8 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Add Ubuntu 18.04 to the CIJoni Jantti2018-08-301-0/+44
| | | | | | | | | | | | | | | | | | | | Qt 5.12 will have both 16.04 and 18.04 LTS releases verified. Some configurations are upgraded from 16.04 to 18.04. Task-number: QTQAINFRA-1983 Change-Id: I1b5c2a1c23ce209040b3478cff21b7f6436a9b54 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: need to install packages in XcodeLiang Qi2018-08-281-0/+4
| | | | | | | | | | | | Task-number: QTBUG-70180 Change-Id: I23134b887bf7fa05e29bd16769fdb9c7f025764e Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* | Replace MinGW 5.3.0 with 7.3.0Simo Fält2018-08-261-2/+6
| | | | | | | | | | | | | | Task-number: QTQAINFRA-1289 Task-number: QTQAINFRA-1389 Change-Id: Ic6f637170cd4b98ece45811e66dbb21dc3ee66e3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: Fix open62541 on msvc2015 x86/x64Maurice Kalinowski2018-08-241-2/+2
| | | | | | | | | | | | | | The correct vcvars resides in Visual Studio 14, not 12. Change-Id: I89e75b4c5c7806ac451f645b3bf341f588818040 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | Provisioning: Disable spotlight in macOSSimo Fält2018-08-241-0/+38
| | | | | | | | | | | | | | | | | | While the VM we launch is a clean image the spotlight starts indexing right after the boot. That seems to require quite a lot of resources. Build machine doesn't need the feature, so we are disabling it. Change-Id: I2c5f0030d7a687cfbded4e9bd4da70302cb0a933 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Merge remote-tracking branch 'origin/dev' into 5.12Liang Qi2018-08-212-4/+4
|\ \ | | | | | | | | | Change-Id: I593555fd39b6499d241acb00cc656bcdbef83d77
| * | Provisioning: Update MQTT brokerMaurice Kalinowski2018-08-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Required to get shared subscription testing working, namely to fix https://github.com/eclipse/paho.mqtt.testing/issues/56 Change-Id: Ib8657cde0d8e33135bbc2ebcb9558f8e6b13e40f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* | | Provisioning: Install debug version of vclibs for UWP usageOliver Wolff2018-08-201-0/+16
|/ / | | | | | | | | | | | | | | | | | | RTA relies on the availability of debug vclibs. The frameworks are usually installed on first usage by Visual Studio, but as we use winrtrunner, we have to install the packages manually. Task-number: QTBUG-69809 Change-Id: I66cc4b04062afe634345cddc8ab4d001778274cc Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Update Open62541Maurice Kalinowski2018-08-092-3/+3
| | | | | | | | | | | | | | | | Change-Id: I1a1402f80d31d6063cca1838e0b7c3ebbe2d876c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
* | Provisioning: PyPFD2Joni Jantti2018-08-092-0/+6
| | | | | | | | | | | | | | | | | | Required for QSR documentation. Task-number: QTQAINFRA-2103 Change-Id: I4da98460fb5d5ad26f9e1e16c503a0d94be047a6 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devLiang Qi2018-08-062-6/+6
|\| | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh Change-Id: If414fac20cc1cddd155a9f9c8048d0ad76ac54ef
| * Provisioning: Update MQTT test brokerMaurice Kalinowski2018-08-042-4/+4
| | | | | | | | | | | | | | Updates required for latest MQTT5 features and fixes. Change-Id: I63e967efafbe1b22800e338b6c431febe3389a45 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Provisioning: MQTT: Switch download orderMaurice Kalinowski2018-08-041-2/+2
| | | | | | | | | | | | | | We should try the internal ones first. Change-Id: Id0bb3c00e0a1359004f66435a452c30ee4997689 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Upgrade Android NDK to r16b and switch to clangJoni Jantti2018-08-043-7/+7
| | | | | | | | | | | | | | | | | | We need to upgrade the Android NDK version when we switch to building with clang. Task-number: QTQAINFRA-1681 Change-Id: Ic43b28ead393ec5828b099727182df5f4424f419 Reviewed-by: Liang Qi <liang.qi@qt.io>