aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
Commit message (Collapse)AuthorAgeFilesLines
* 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-112-0/+111
| | | | | | | | | | 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>
* Fix license text of provisioning scriptTony Sarajärvi2018-09-081-1/+1
| | | | | | Change-Id: I542da038dd087b1705d1ceb475a1656eeec84c91 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* Correctly use pip3 to setup a wheel cache for python3 packages on linuxDominik Holland2018-09-053-3/+4
| | | | | | | | | | Previously pip was used (instead of pip3) which caused that python2 packages were installed into the python3 wheel cache folder. Some of the packages also worked for python3, but not all of them. Task-number: AUTOSUITE-195 Change-Id: I393d036667b14e11dee65975ba6933e7174d0e9d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Move Android NDK to macos 10.13Joni Jantti2018-09-052-86/+2
| | | | | | | Task-number: QTQAINFRA-2158 Change-Id: Iddf3bd2609e6b06b33cbe2258075157e91e52e8e Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Ubuntu 18.04: QNX700 and QNX660Joni Jäntti2018-09-052-0/+76
| | | | | | | RTA testing needs QNX platforms installed on Ubuntu 18.04 as well. Change-Id: I8cf95dc5eb12761f82081bfda0973cc19a2864bc Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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>
* Provisioning: Add mqtt broker to Ubuntu 18.04Maurice Kalinowski2018-09-041-0/+36
| | | | | | | | | | | | The broker is required to run tests of the mqtt module. This is a followup of e89420945f368ec7b6d03b8aeb6e6b478ee960fe which was missing this part. Task-number: QTQAINFRA-1983 Change-Id: Ibcc79aecbf1212ecc64150c911ecf296c7f58e19 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Cleanup of RHEL 6 codes from provisioning scriptsTony Sarajärvi2018-09-044-52/+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-0427-27/+27
| | | | | 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-304-7/+7
|\ | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt Change-Id: Iaae974fbfad9130ead96d229829ab472c998e098
| * Provisioning: Update QNX packages with security patchesJoni Jantti2018-08-074-7/+7
| | | | | | | | | | | | | | | | | | | | 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-3012-1/+331
| | | | | | | | | | | | | | | | | | | | 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-264-13/+17
| | | | | | | | | | | | | | Task-number: QTQAINFRA-1289 Task-number: QTQAINFRA-1389 Change-Id: Ic6f637170cd4b98ece45811e66dbb21dc3ee66e3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Cleanup of unused macOS 10.10 provisioning scriptsTony Sarajärvi2018-08-243-9/+0
| | | | | | | | | | Change-Id: Iae988527c2ed9a27bb724072064cd6d1dcd55f08 Reviewed-by: Liang Qi <liang.qi@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-243-0/+42
| | | | | | | | | | | | | | | | | | 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>
* | Fix failing assertions in QML when running under qemuSimon Hausmann2018-08-241-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | Unfortunately the user-space emulation mode of qemu does not implement MADV_DONTNEED, which is a feature that the garbage collector of QML relies on. Patch is submitted to the qemu list and included here to fix the imminent issue we're seeing. Task-number: QTBUG-68349 Change-Id: I2bb15513a1e5a7ad03eeae98d77691336985a20f Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Drop testing of macOS 10.11 in the CITony Sarajärvi2018-08-2421-433/+0
| | | | | | | | | | | | | | | | | | | | | | The 10.11 configurations were bumped to 10.12 configurations. The 10.12 packaging configuration will be deleted once autotests have been enabled for 10.13 and packaging moved to 10.13 cross the board. Task-number: QTQAINFRA-2055 Change-Id: I17c598a306487e9a2f72006c3fa02e4ee683ee12 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Merge remote-tracking branch 'origin/dev' into 5.12Liang Qi2018-08-216-12/+18
|\ \ | | | | | | | | | Change-Id: I593555fd39b6499d241acb00cc656bcdbef83d77
| * | Upgrade Xcode to 9.4.1Tony Sarajärvi2018-08-202-3/+3
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-2136 Change-Id: I57f64c3dc3b91f21bb6d42ab5dc5163db75120b9 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * | Provisioning: openSUSE_42.3: Wait for PackageKit to finishJoni Jantti2018-08-171-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Provisioning sometimes fails if PackageKit is locked at the moment we try to remove plasma5-pk-updates package. Task-number: QTQAINFRA-2141 Change-Id: I5e6c2ecab87033ce01aae915813e1d5f70ea8186 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * | 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: Update QEMU toolchains of boot2qtRyan Chu2018-08-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docker-based test server needs mdns to resolve .local while testing qt network stack in CI. Otherwise the tests would not see announced services. Relates to yocto/meta-boot2qt 7608ebe44f65f4d525081cf9a5b12cfa05792a8f Change-Id: If834b01668bcf844e475e863eb1337849c718270 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | | Provisioning: Install debug version of vclibs for UWP usageOliver Wolff2018-08-203-0/+22
|/ / | | | | | | | | | | | | | | | | | | 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-093-0/+8
| | | | | | | | | | | | | | | | | | 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>
* | Provisioning: Win10_x64: Remove MS Zune Appx packagesJoni Jantti2018-08-091-0/+2
| | | | | | | | | | | | | | | | | | | | Windows 10 has these Zune Audio and Zune Video packages installed that often open up automatically when accessing the VMs through VNC for example. Removing the packages gets rid of this annoyance. Task-number: QTQAINFRA-2121 Change-Id: I09aa276fcb06ad84321709e64bcfd71fbd33c657 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: OpenSUSE_42.3: Set GRUB_TIMEOUT to 0Joni Jantti2018-08-091-0/+3
| | | | | | | | | | | | | | | | | | Setting the grub timeout to 0 will save us some time during the bootup phases. Task-number: QTQAINFRA-1703 Change-Id: I6dc6fbac0cfe54608068531eba4808cf87cf435c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Update provisioned boot2qt version from 2.3.1 to 2.3.4Ryan Chu2018-08-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | Docker-based test server needs mdns to resolve .local while testing qt network stack in CI. Otherwise the tests would not see announced services. Relates to yocto/meta-boot2qt 2f17ab34687ef100c4390057dd220ab431ec8ff8 Change-Id: I5313fc34634211ae6950769518c68c2b11d77eb3 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devLiang Qi2018-08-064-6/+16
|\| | | | | | | | | | | | | 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>
| * Use local Ubuntu repositories with Ubuntu 16.04Tony Sarajärvi2018-08-011-0/+7
| | | | | | | | | | | | | | | | Using cached local repositories saves us outgoing bandwidth. This way we also get version pinned packages. Change-Id: I475c62c3e408d71e85f24d74dd384c62de583403 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Remove packagekit (update notifications) from RHEL 7.4Frederik Gladhorn2018-07-311-0/+3
| | | | | | | | | | | | | | | | | | | | PackageKit and gnome-software run in the background and at some point will show popups to ask the user to update. Change-Id: I99a3314c8788c7cc06e479718306a822bf255fbd Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Upgrade Android NDK to r16b and switch to clangJoni Jantti2018-08-044-9/+9
| | | | | | | | | | | | | | | | | | 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>
* | Download and cache needed python wheels during provisioningDominik Holland2018-07-316-4/+51
| | | | | | | | | | | | | | | | | | Instead of downloading the packages during the compile/configure step setup a wheel cache folder during the provisioning phase Task-number: AUTOSUITE-195 Change-Id: I465f1be7cdd351e7680dcd8ae22d5e97ddf8cb2d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Provisioning: Update cmake to 3.11.3 on macosSimo Fält2018-07-231-5/+5
| | | | | | | | | | | | | | | | | | | | It seems that cmake 3.6 had issues with more recent XCode. Since XCode 8 the sysroot folder might have been unversioned (MacOSX10.12.sdk -> MacOSX.sdk). In that case older cmake can't detect correct SDK version. This is causing issues when building Pyside2. Change-Id: I09f0ed4fe6d15ba3d60aa3a6e9a9b3b9091996c8 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Open62541 win32: Add python to dev environmentMaurice Kalinowski2018-07-181-0/+1
| | | | | | | | | | | | | | | | | | The autodetection of cmake used a different python for x86 builds of msvc. Those did not have six installed. Instead, use one python for all build variants to stay consistent. Change-Id: Id1ad2bc320e47a68358364ff94d78993ba0b0848 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.11' into dev" into ↵Simon Hausmann2018-07-121-3/+3
|\ \ | | | | | | | | | refs/staging/dev
| * | Merge remote-tracking branch 'origin/5.11' into devSimon Hausmann2018-07-101-3/+3
| |\| | | | | | | | | | Change-Id: I1af773187b7dd55bf820ce7d3218a9f3121c198a
| | * provisioning: Update winrtrunnerOliver Wolff2018-07-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | winrtrunner is from dev. The only change to the previous version is a longer timeout for deployment, as CI runs now and then failed, because deployment did not finish in time. Change-Id: I244e68af447db9298d64bb791048032edd3ec1fd Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Docker Provisioning: Install Avahi and enable mDNS service discoveryRyan Chu2018-07-106-15/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The challenge of connecting Docker containers from the host is to resolve a predefined hostname to an IP address assigned at runtime. For Unix-like platforms such as Ubuntu, it can be done by either hard-code the IP addresses or creating a DNS server. Both of them are not user-friendly which need root permission to modify system files. Avahi is a free Zeroconf implementation and provides multicast DNS (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 in a local domain without extra user-efforts. Task-number: QTQAINFRA-1686 Change-Id: I1ef464a455cef5d331a3e2eb0194e2741172ef95 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Ryan Chu <ryan.chu@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Provisioning: Update Open62541 install pathMaurice Kalinowski2018-07-041-3/+3
| | | | | | | | | | | | | | | | Use the updated install path for OPEN62541_PREFIX argument in CI. Change-Id: Ifa06d002516da20001a94ff6e7066504fa471a8f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | Provisioning: Open62541 Update environment variablesMaurice Kalinowski2018-07-041-1/+1
| | | | | | | | | | | | | | Using CI_OPEN62541_<compiler>_<arch>_PREFIX is more verbose. Change-Id: I58ed0f31935308389f274f93578361db3dc01daa Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Provisioning: Install Unified Automation C++ SDK on WindowsMaurice Kalinowski2018-07-042-0/+60
| | | | | | | | | | | | | | | | | | UA C++ SDK is one of the supported OPC UA backends in the Qt OpcUa module. The aim is to have packages available with Qt 5.12. Change-Id: I2d1b3c6c583f4563e7470317d4f73f853bd34c72 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | Provisioning: Install Docker-based test servers on Ubuntu 16.04Ryan Chu2018-07-029-0/+337
| | | | | | | | | | | | | | | | | | | | | | | | Build and cache docker images based on the configurations in testserver. 1. Download and install the docker engine and docker-compose extension. 2. Append address and hostname of test servers to CI environment. 3. Build and tag the docker images by the SHA-1 of server context. Task-number: QTQAINFRA-1686 Change-Id: Ib9b58d45856682ddec04af045e1eab18e14a85fb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>