aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.10' into 5.10.1Liang Qi2018-02-073-2/+4
|\ | | | | | | Change-Id: I275589752f6f623e61841a4552087a1875729615
| * Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-02-033-2/+4
| |\ | | | | | | | | | Change-Id: I3e4ae2508d632919db77af0f365eb25ace1a69e0
| | * Provisioning: Disable Network Time ProtocolHeikki Halmet2018-02-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | NTP need to be disabled from all tier2 templates Task-number: QTQAINFRA-1608 Change-Id: I89e019c23b7a194efffa011200a8c870e3a65d66 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Remove excess sourcing of try_catchTony Sarajärvi2018-02-021-2/+0
| | | | | | | | | | | | | | | | | | Change-Id: I3bfa7e8755dbae904719212c22549f6965142330 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
| | * Instead of just warning that apt failed, tell whyFrederik Gladhorn2018-02-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the lsof we should see which process was holding the lock. After that we can disable this source of problems. Change-Id: Ie6a014bdb101e6230139569c0e4ea51a57089c30 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Provisioning: Don't test window decorations on Ubuntu 16.04 QEMUJohan Klokkhammer Helsing2018-02-071-1/+7
|/ / | | | | | | | | | | | | | | | | | | | | Decorations were previously disabled within the Wayland tests to work around another issue. That issue has now been fixed, and decorations have been enabled again, but these tests now became flaky when run within QEMU. Task-number: QTBUG-66173 Change-Id: I23b722ebc0719a2fd359ba5c3c57c66a887c06de Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10.1Frederik Gladhorn2018-01-294-5/+15
|\| | | | | | | | | | | | | | | This was pushed directly, bypassing codereview.qt-project.org to get provisioning back into a working state. Change-Id: Ia5d2e6f7079162f571cd7c7994c0f2b3133b1163 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| * Provisioning: Add Squish provisioning for Release Test AutomationHeikki Halmet2018-01-261-0/+4
| | | | | | | | | | | | | | | | | | Squish is required by RTA for testing. Task-number: QTQAINFRA-1523 Change-Id: I0c3653565f19cc9b798a0b63325c47b017cf5537 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Matti Paaso <matti.paaso@qt.io>
| * Add nfs-common for mounting to workTony Sarajärvi2018-01-261-0/+2
| | | | | | | | | | | | Task-number: QTQAINFRA-1690 Change-Id: I43453da3267664c664e80510e3750d1906d00078 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: Use SetEnvVar helper function in scriptsJoni Jantti2018-01-262-5/+9
| | | | | | | | | | | | | | | | | | | | | | Currently when adding an environment variable in provisioning we have to check if the system is Ubuntu and use .profile instead of .bashrc. This check should be done in a function so we don't have to duplicate it for every provisioning script separately. Change-Id: I2fa128032123e17d20dfb39cd3668e22e4bb0d55 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-191-2/+2
|\| | | | | | | Change-Id: I0fdced87d2064e8459fa0b9c4e16a53c1f44ac0a
| * Move exception throw to the correct lineJoni Jantti2018-01-191-2/+2
| | | | | | | | | | | | | | | | | | This throw was placed on the echo line instead of the actual command. Change-Id: I907c2ce17afa64c9c4ef628d766d7dfe270ade59 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-121-1/+1
|\| | | | | | | Change-Id: Idf9c18da5527327178887c257fc56dbc27e1c8ad
| * Install p7zip-full, that contains the 7z binaryFrederik Gladhorn2018-01-111-1/+1
| | | | | | | | | | | | | | p7zip is only a minimal version containing 7zr. Change-Id: I12531514490b6eb871419bdb61ea5896b175a678 Reviewed-by: Simo Fält <simo.falt@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-118-13/+11
|\| | | | | | | | | | | | | Fixed up provisioning script locations after the reshuffeling into common/platform folders. Change-Id: Ia0b7d076e475ccc207f2955572fb9ab4171e5d9d
| * Split Common folder based on operating system familiesHeikki Halmet2018-01-107-10/+10
| | | | | | | | | | | | | | | | | | | | This change will split common folder to four different folders: Linux, Unix, Windows and MacOS. Each of these folders includes scripts which are common for their operating system familes Task-number: QTQAINFRA-1451 Change-Id: Ic93b2183052335dee875d1452b21e38d268b6474 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
| * Remove devtoolset sourcing from openssl provisioning on UbuntuJoni Jantti2018-01-101-2/+0
| | | | | | | | | | | | | | | | This line is a leftover from RHEL script and needs to be removed on Ubuntu. Change-Id: I8fc8ab7cff808da997cb88a3cec4c65eaa1528a4 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Add +x rights to provisioning scrips missing it and consolidate shebangTony Sarajärvi2018-01-072-2/+2
| | | | | | | | | | | | Change-Id: I1e1fb37bfffd0451c02166227805b40b48d31582 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Fix opcua provisioning by sourcing .profileTony Sarajärvi2018-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When CMake is installed it exports its install path into .profile. However, freeopcua doesn't source it as builds do, so it couldn't find the cmake. Also, as Ubuntu is using .profile in our builds, this commit fixes so that the PATH is actually written into the right file. Task-number: QTBUG-65594 Change-Id: I561a88a07872436bb4a3bd62a2d55fd56a130121 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Consolidate prefixes of provisioning scriptsTony Sarajärvi2018-01-072-0/+0
| | | | | | | | | | Change-Id: I75a4bcb049a2c4d034a74b6838ffe7ddf2c3015e Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-068-27/+189
|\| | | | | | | Change-Id: I7119e6e1853b0eef2b695fb8165518e90b18d250
| * Merge remote-tracking branch 'origin/5.9.4' into 5.9Liang Qi2018-01-051-0/+5
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules Change-Id: I6a2446b8ed4212e3965b37cb2c25f35ba6ed7efc
| | * Provisioning: Ubuntu16.04 - CMakeJoni Jantti2018-01-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | CMake is missing from the clean installed Ubuntu 16.04. Change-Id: I965bc3e55eb9b0765f483a84e5584e61054bdd80 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * | Provisioning: Ubuntu 16.04 - Set timezone to UTCJoni Jantti2018-01-051-0/+6
| |/ | | | | | | | | | | Task-number: QTBUG-65435 Change-Id: I329926d0f83d47c9e69eee177c600ac629ee9415 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * Set up proxy for provisioning scriptsTony Sarajärvi2018-01-021-0/+10
| | | | | | | | | | | | Task-number: QTQAINFRA-1669 Change-Id: I582dc5037bd2b46dcd5c9c3b2cb13784e122d6a5 Reviewed-by: Simo Fält <simo.falt@qt.io>
| * Fix shebangs and give provisioning scripts +x rightsTony Sarajärvi2018-01-024-4/+4
| | | | | | | | | | Change-Id: Ib85721600b1e4461470a9ea4fd3b29fca0b35633 Reviewed-by: Simo Fält <simo.falt@qt.io>
| * Provisioning: VirtualBox for RTAJoni Jantti2017-12-291-0/+3
| | | | | | | | | | | | | | | | RTA needs VirtualBox for running GammaRayPlugin RTA tests. Task-number: QTQAINFRA-1661 Change-Id: If66d6a63355ed5cc8c8525408c2dfc8c4f3d1bac Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Add clean Ubuntu 16.04 provisioningJoni Jäntti2017-12-297-22/+153
| | | | | | | | | | | | | | | | | | | | Currently Ubuntu 16.04 template has stuff installed on its tier 1. We want to have a clean installed tier 1 and install everything on it during provisioning. This will save some disk space on our hosts. Task-number: QTQAINFRA-1574 Change-Id: Ia7e6df62835a8e31943c00996f12ac70c6c71aed Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Add set -ex to provisioning scripts for Ubuntu-16.04Joni Jantti2017-12-274-1/+8
| | | | | | | | | | Change-Id: Icc4b58080875255d8c2efe3e5db2c05e18127606 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-12-221-19/+23
|\| | | | | | | | | | | | | Conflicts: coin/provisioning/qtci-linux-openSUSE-42.3-x86_64/002-zypperpackages.sh Change-Id: I5aaf8fa93f7a9f06e30b9730703e8d1e018cb1f7
| * Simplify apt package installation and disable daily package maintenanceSimon Hausmann2017-12-201-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using aptdcon, we can continue to use apt-get to install the software. We just need to make sure that the automatic update and package upgrade services are disabled. This is generally desirable as we do not want these kind of activities to occur in the background while building or running tests. This also fixes the broken package installation via regex, which apt-get supports but aptdcon does not. Revert "Fix Ubuntu 16.04 random provisioning fail" This reverts commit 537ea17d14526bc6564765e2dd4652e11a3ed235. Conflicts: coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh Change-Id: I920e5132bb0a248d3794e1efcf01ce78d28e6ee3 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-11-162-19/+24
|\| | | | | | | Change-Id: Iac3073d85bd94d27c296b307a827ee6bd97c4194
| * Provisioning: Install expectHeikki Halmet2017-11-111-0/+2
| | | | | | | | | | | | | | | | | | Expect is needed by Release Test Automation (RTA) to automate configure testing. Change-Id: I66889c70667a12f962cbea39906bd8b7a1d63517 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provisioning: FBX SDKTony Sarajärvi2017-11-111-0/+4
| | | | | | | | | | | | | | | | | | | | We need to provision the FBX SDK for Qt3DStudio. Task-number: QTQAINFRA-1449 Change-Id: I52587cd653b7954340d5f58978ffbd008330337c Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Fix Ubuntu 16.04 random provisioning failJoni Jäntti2017-11-081-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubuntu 16.04 provisioning sometimes fails in the apt-get commands for package installations. This is caused by a lock that is still in use when the system is calling the apt-get commands. This change will use the apt daemon to queue the install commands and wait for the lock to release instead of checking once and then failing if the lock is not open. Task-number: QTQAINFRA-1502 Change-Id: Idd4aff42f99cf4d14c08aef8fcc3cb7dbc58b2dd Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2017-11-092-4/+99
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Also update to pyro toolchain in QEMU way. Conflicts: coin/platform_configs/default.txt coin/platform_configs/qt5.txt coin/platform_configs/qtdeclarative.txt coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/004-yocto.sh Done-with: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Task-number: QTBUG-64384 Change-Id: If0451b81059e6831a5e5df0f359f119caf4ee09d
| * Provisioning: Remove logical OR when echo errorsHeikki Halmet2017-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | set -e won't work if logical OR is used after commands. These error echo's need to be removed so that error catch will works. Also set -ex added to print executed command when error caught. Task-number: QTQAINFRA-1533 Change-Id: Ib4ea832a0ee813f99f59ebacad51ec57c3eff57d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Yocto toolchain provisioning to CIJoni Jäntti2017-11-062-2/+97
| | | | | | | | | | | | | | | | | | Provisioning scripts need to install Yocto toolchains (32 and 64 bit) so that the artifacts aren't needed to be unzipped during Qt builds. Task-number: QTQAINFRA-1454 Change-Id: Idceeabb7aa9ffe2555fb98c94916f8429c32af75 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Install python3 on all platformsDominik Holland2017-09-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This forward-ports commit a99d3432f71c4be5045ae2cdcc3b7070de5abe23 to 5.9, which should have been done in 6bf5691ca87dd4dcf9386a4c6320be2c39db6dcb but accidentally left out. It reuses parts of commit a5f3f8ed482d314d092e1a6ddc5568839bb59c74 that was initially cherry-picked to 5.6. Task-number: QTAUTO-345 Task-number: QTBUG-63133 Change-Id: Ib401dd06bfc4d4aaf8b8ce1a8509697993d4397e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge "Merge remote-tracking branch 'origin/5.9' into 5.10" into ↵v5.10.0-alpha1Jani Heikkinen2017-09-101-19/+19
|\ \ | | | | | | | | | refs/staging/5.10
| * | Merge remote-tracking branch 'origin/5.9' into 5.10Simon Hausmann2017-09-061-19/+19
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt coin/platform_configs/qtdeclarative.txt coin/provisioning/common/InstallPKGFromURL.sh coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/002-apt.sh Change-Id: Id174b48e650ed18fbba48b4fc617ee075b0586ec
| | * Prefer apt-get over apt in scriptsFrederik Gladhorn2017-09-021-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | apt explicitly warns that it doesn't have a stable UI, so it shouldn't be used in scripts. This should have no implications in practice. Change-Id: Id0bb0d44e73b80a19f6ba4ca1aa4d92c09d10a92 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | | Provisioning: Install paho mqtt brokerMaurice Kalinowski2017-09-101-0/+36
|/ / | | | | | | | | | | | | | | | | The paho broker is used for testing the Qt Mqtt module, specifically the client classes. Change-Id: I252a337eb0454e871669a467dba2d9a379fb33d5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into devLiang Qi2017-08-241-4/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/qt5.txt coin/provisioning/common/system_updates.sh coin/provisioning/qtci-linux-RHEL-7.2-x86_64/08-pythondev.sh coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/08-pythondev.sh coin/provisioning/qtci-linux-Ubuntu-14.04-x86_64/freeopcua.sh coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/freeopcua.sh coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh Change-Id: Id9c38f3cda85b82fc20fb4a1f2ec71aa18646d94
| * Do not use font files from boot2qt toolchainSami Nurmenniemi2017-08-211-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously font configuration files were used from the host system. Updating the toolchain to Morty introduces Cantarell font which causes toolchain fonts to be used by Qemu. This change forces also the actual font files to be used from the host system regardless of what is in the toolchain. Task-number: QTBUG-62528 Change-Id: I00de0baa952c9b898edc6b9da8d1d8814f6c722b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Update freeopcua versionMaurice Kalinowski2017-07-261-0/+49
| | | | | | | | | | | | | | And also moved to Ubuntu 16.04 as we're not testing 14 anymore. Change-Id: I3fd12a1ff290e564f15a557da33ce3c0008b4f81 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into devSimon Hausmann2017-07-142-7/+12
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/qt5.txt Remove QNX Windows builds, 0358b6d2 Remove Integrity build temporarily, QTBUG-61702 coin/provisioning/qtci-macos-10.12-x86_64/020-xcode.sh Done-with: Liang Qi <liang.qi@qt.io> Change-Id: I5a56633d6cd60b5514828060fde87f784e54cdda
| * Add preparing of qemu fontconfig to Ubuntu 16.04 provisioningSami Nurmenniemi2017-04-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | If normal fontconfig paths are used, qemu parses what ever files it finds from the toolchain sysroot and the rest from the system fonts. Fix by copying the system font configurations to a location which prefix that can't be found from the toolchain sysroot. Links must also be dereferenced or their targets remain pointing to the toolchain sysroot. Task-number: QTBUG-59966 Change-Id: I9710c9fdebe81114080f47f1f59b2a049f87c070 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * Provision: Remove excess export that wasn't read in UbuntusTony Sarajärvi2017-04-271-7/+0
| | | | | | | | | | | | | | | | | | | | | | Default shell for 'qt' user is Dash. It doesn't read .bashrc at all. Coin uses bash, but uses it non-interactively which in .bashrc means that it bails out immediately. So same result, .bashrc isn't read in Ubuntus. Change-Id: Id466c86f8cc813aacd5f41c4b267b44e93759377 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Install python3 on all platformsDominik Holland2017-05-111-0/+2
|/ | | | | | Task-number: QTAUTO-345 Change-Id: If11ca425fa08cce8a518710ded0a6ec58159343d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>