summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add platform_configurations for StaticHostOnly targetsToni Saario2019-10-153-0/+74
| | | | | | | | | | Configuring modules in specific files removes their dependency for coin creating their configurations. Task-number: COIN-259 Task-number: QTBUG-78942 Change-Id: I8f2a9a5672ca2261c8949baf49f2d0d093bf1c5b Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* Provisioning: Update Cmake to version 3.7.2Heikki Halmet2019-10-152-8/+8
| | | | | | | | | QtCreator requires Cmake minimal version to be at least 3.7.0 Task-number: QTQAINFRA-3272 Change-Id: Id7f2d38ad0581c1aead4b5bac860ac193488ae1b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Provisioning: Hide windows squish installation output from the logHeikki Halmet2019-10-091-2/+4
| | | | | | | This will prevent the output of unwanted information Change-Id: I5f1824a6bbe98c673ef04dc2daa0db0536d27828 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Make sure that Configure and Make will passHeikki Halmet2019-10-091-3/+20
| | | | | | | | | | During powershell process error is not caught and provisioning continues even if the exitcode is something else that '0' Task-number: QTQAINFRA-3214 Change-Id: I91116a78d0c4defe6ba4287913c2394e199be958 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Ensure provisioning works even without the secretsDimitrios Apostolou2019-10-081-3/+10
| | | | | Change-Id: I3869e881341a719da8a351095c3bf314c2fa2f34 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Fix shell function is_script_executedDimitrios Apostolou2019-10-081-1/+3
| | | | | | | | It used to return error when tested inside a login shell, because $0 is "-bash" and `basename` was trying to interpret -b as an option. Change-Id: I5faa2dc01e50c7d5bcfc0ab1fcfd910b2538afc2 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix provisioning script for RHEL 6Dimitrios Apostolou2019-10-081-2/+20
| | | | | | | It seems RHEL 6.6 does not provide /etc/os-release. Change-Id: I01ba2bb17b89c01f9991944a11eeaa9c2eba6f20 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-10-054-0/+0
| | | | | Change-Id: I1e4a3f0a9ec8280b5a6801096f283435c1f0f855 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-10-049-0/+0
| | | | | Change-Id: I47edb51a61cc8b9e7d7e4ec9ff1c9057e9d126fc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Reduce noise in the provision logsDimitrios Apostolou2019-10-013-4/+11
| | | | | | | | | | | | | | Reduce verbosity in order to shorten logs and make them more readable. In two cases we just remove the verbose flag. In one other case we undo inlining of a huge script in the command line. Because we run the provisioning scripts in trace mode, this caused the script to be logged, and it was rather long and meaningless since it comes from an external project. Change-Id: I078ee3b3ab2db9425204375deb5815b6526a4466 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-10-014-0/+0
| | | | | Change-Id: I328c1cb350e067765b0f05e75179cf178dd2b14e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-303-0/+0
| | | | | Change-Id: I0738664f8f0129431b7e5c212fe1615b09792aec Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-2810-0/+0
| | | | | Change-Id: I1e6126cbe20e293bc4ec88a492c0bf9ebfffd766 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Move telegraf install to start of provisioning macosDimitrios Apostolou2019-09-273-0/+0
| | | | | Change-Id: Ied2b7a415abe5e101b6bfb60472b74070debe9e9 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Move telegraf install to start of provisioning linuxDimitrios Apostolou2019-09-278-0/+0
| | | | | Change-Id: Ia42b0c21f6e341a941e98d3abbda512cfb0fda92 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Move telegraf install to start of provisioning windowsDimitrios Apostolou2019-09-276-0/+0
| | | | | Change-Id: Icf4f213be5a33ec2ad89d514b9bba5d4a3587117 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* DownloadURL now works with either wget or curlDimitrios Apostolou2019-09-271-2/+11
| | | | | | | | | The reason is that Ubuntu does not have curl at the very beginning of provisioning scripts, and also does not have the repositories configured in order to install it. Change-Id: Ia485c1672f894bc800f199b742d238b2945938e5 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Install 7-zip at the beginning of provisioning WindowsDimitrios Apostolou2019-09-2712-0/+0
| | | | | | | | | | so that we can extract zip files early and install telegraf. Also moved disabling Windows defender, to keep it at the very beginning of provisioning. Change-Id: I6c2039ebd20e541bdd7d437dd56ccb06a1619a5f Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Adjust pre-existing script to use the new common.sourced.shDimitrios Apostolou2019-09-274-139/+14
| | | | | Change-Id: Icf7829d3499110a76b90679ba2d067f80d189e69 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Install telegraf on all provisioned VMsDimitrios Apostolou2019-09-2730-1/+686
| | | | | | | | | | | | | | | | | | Install binaries as early as possible in the provisioning process, and start them, in order to monitor provisioning too. To achieve this, some OS auto-detection logic is introduced in shell script common.sourced.sh. The script can be sourced and used in all kind of other generic scripts. ioping is also installed from custom-compiled binaries in order to monitor the disk latency of the VMs. Reason we don't use ioping from the repositories, is that the units differ between ioping versions (new ioping reports latencies in nanoseconds, old in microseconds). Fixes: QTQAINFRA-3092 Change-Id: I9d9afb791955725d4bd0b32dae97dfc0bd4a76a3 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Merge "Merge remote-tracking branch 'origin/5.13.1' into 5.13"Liang Qi2019-09-271-0/+24
|\
| * Merge remote-tracking branch 'origin/5.13.1' into 5.13Liang Qi2019-09-271-0/+24
| |\ |/ / | | | | | | | | | | Conflicts: coin/platform_configs/qt5.yaml Change-Id: Iaeec542042807c00e4c2597b546b00ce0f267b48
| * Update qtbase submodule on 5.13.1 in qt5v5.13.15.13.1Jukka Jokiniva2019-09-021-0/+0
| | | | | | | | | | Change-Id: Ia5d9429b6cfc0804355a2161a18f030db6fa6dae Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
| * Update submodules on '5.13.1' in qt5Qt Submodule Update Bot2019-08-211-0/+0
| | | | | | | | | | Change-Id: I6a801fd43a71d5ba772e71dae4101a6edbbcac95 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * Update submodules on '5.13.1' in qt5Qt Submodule Update Bot2019-08-191-0/+0
| | | | | | | | | | Change-Id: I0f321007da9f236c069703125d5529a54ad27c9c Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * Update submodules on '5.13.1' in qt5Qt Submodule Update Bot2019-08-181-0/+0
| | | | | | | | | | Change-Id: I4f319b0afe7e7369eb7db168f66ec57ed867c267 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
| * Update submodules on '5.13.1' in qt5Qt Submodule Update Bot2019-08-162-0/+0
| | | | | | | | | | Change-Id: I6c95fa658c52571ce1e0588eac1b9763f0bae549 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
| * Update submodules on '5.13.1' in qt5Qt Submodule Update Bot2019-08-152-0/+0
| | | | | | | | | | Change-Id: Ic89472db863aedd92db57dbaaf2dd5fd10efa96f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
| * Update submodules on '5.13.1' in qt5Qt Submodule Update Bot2019-08-144-0/+0
| | | | | | | | | | Change-Id: I2324f8a205f5e7fcb4cfea9e7e845ef9f4f867e4 Reviewed-by: Liang Qi <liang.qi@qt.io>
| * Add Android x86_64 architectureJani Heikkinen2019-08-131-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems those build targets were accidentally deleted when yaml change was merged in. Targets were there in Qt 5.13.0 release (before yaml change) This amends a94696ccd5be936099809eda58db02999cb7c77a. See also ebcfcbe69a5d34949d938211c364e1ff6f185b39. Task-number: QTBUG-47672 Change-Id: If2c22a8b995fdaa967f81062d0fae6dc725829dd Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* | Refactor DownloadURL.shDimitrios Apostolou2019-09-261-23/+61
| | | | | | | | | | | | | | | | | | | | | | | | Auto-detects and verifies all kinds of hashes, not only SHA1. Hash verification is now an autonomous function. If the file is found at the destination, skip redownloading it if the hash is OK. Runs on POSIX sh, not requiring bash. Retain compatibility with previous version. Change-Id: I9930336030aa776f49dc460fe766f3e831700255 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Do not silence standard errorDimitrios Apostolou2019-09-262-3/+3
| | | | | | | | | | | | | | | | | | | | Provisioning was failing and the logs did not provide any useful information because of the silenced squish install command. So I went through all the scripts and I re-enabled stderr logging where I found it silenced (with the exception of where it was purposeful or harmless). Change-Id: I5fa0b0ba4362970b214c150d399b6720b1780e1e Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Increase open files and processes limit on macOSDimitrios Apostolou2019-09-266-0/+244
| | | | | | | | | | Change-Id: If93bbe067f76168a7c131c6ced187f00a8d908e1 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Brew update only onceDimitrios Apostolou2019-09-264-3/+4
| | | | | | | | | | Change-Id: I6c2650574b6b62ceedfc95a9caab7ca26a6fa10b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Speed up provisioning on LinuxDimitrios Apostolou2019-09-261-1/+1
| | | | | | | | | | Change-Id: I6e4e5621ed0b063215476ef51d61ef1f38198d0c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix message "RPMDB altered outside of yum"Dimitrios Apostolou2019-09-262-4/+2
| | | | | | | | | | | | | | yum install supports a local filename on RHEL 6 or newer. Change-Id: I873ab3dfab56003ded45bc6c4099aae150f423dd Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Fix delays caused by PackageKit locking RPMDBDimitrios Apostolou2019-09-261-0/+1
| | | | | | | | | | | | | | | | | | It seems that disabling it is not enough, it has to be fully removed. It is also removed later in the scripts but it wasn't enough apparently, so no harm done removing it twice. Change-Id: If1a4f032240e66100b68bca3196a700cb570701e Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Remove the progress bar from the sdkmanager outputDimitrios Apostolou2019-09-261-4/+15
| | | | | | | | | | | | | | Cleans up many thousands of useless lines from the logs. Change-Id: I2673f65b713996637d2161da4db726823e17c0df Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-266-0/+0
| | | | | | | | | | Change-Id: I2c212ec01df2fa67cad4d9e84988d0b31678e6fe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-242-0/+0
| | | | | | | | | | Change-Id: I239abc4de7cec9c5366d177933a4b16c85067971 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-247-0/+0
| | | | | | | | | | Change-Id: I5405348497e527dc5b4b1ff411736ffebeedb246 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-2210-0/+0
| | | | | | | | | | Change-Id: I75182fb8b231e3086a77c1778320cf0f2590cf92 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-2011-0/+0
| | | | | | | | | | Change-Id: Id1259c1907605ad33cbe7f3be3041b26c01f3387 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-187-0/+0
| | | | | | | | | | Change-Id: I42016698eb34b06de2ef9ee268b4b59e9af38f54 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Cherry-pick a QEMU fix for "core dumped" during testsAssam Boudjelthia2019-09-171-0/+1
| | | | | | | | | | | | Task-number: QTBUG-63152 Change-Id: Iac803ca67537eeb9085fb87625103fdde0bfd904 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Upgrade Python pip version for Windows machinesHeikki Halmet2019-09-172-2/+9
| | | | | | | | | | | | Task-number: QTQAINFRA-2564 Change-Id: I10402bb3169b483c71e44db7ecba443eb4f46dc1 Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Provisioning: Disable or delete unneeded tasks and servicesHeikki Halmet2019-09-1712-0/+214
| | | | | | | | | | | | | | | | | | | | Windows have lot's of tasks and services running which are slowing the performance of build machine. Also 'windows' and 'windows defender' updates need's to be "permanently" disabled. Task-number: QTQAINFRA-3182 Change-Id: I8f6b237fcdc6e38fa9a06836d349821d86c58afc Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Update submodules on '5.13' in qt/qt5Qt Submodule Update Bot2019-09-136-0/+0
| | | | | | | | | | Change-Id: Icc4380912fc6d1cbb35b2282c37a180641186f60 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* | Platform configurations: Move Android_ANY (clang-x86) to defaultHeikki Halmet2019-09-122-25/+25
| | | | | | | | | | | | | | | | Arm targets from default change places with clang-x86 from qt5 Task-number: QTQAINFRA-3153 Change-Id: I642f5c07fd5c36bf675676d82f5f200bce4beccf Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Update submodules on '5.13' in qt5Qt Submodule Update Bot2019-09-124-0/+0
| | | | | | | | | | Change-Id: I07251a5915fb85153fb81d05dc16c7ed8eba5dcf Reviewed-by: Liang Qi <liang.qi@qt.io>