aboutsummaryrefslogtreecommitdiffstats
path: root/coin
Commit message (Collapse)AuthorAgeFilesLines
* Remove more of update notifierswip/tqtc-qt-config-gui/masterwip/qdb/masterwip/flashing-wizard/master5.13.2Tony Sarajärvi2019-11-231-1/+1
| | | | | | | Change-Id: I507f584ef82b5f41f6b1cbc22fdd4ff6eff5e911 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 2eab420e807d5fa4e39d4437879b9a35a2cdc88e) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Change local Ubuntu repo mirror in provisioningTony Sarajärvi2019-11-231-5/+4
| | | | | | | | | | | | | | The old mirror host Qt company used to sync their local mirror from, stopped syncing from Ubuntu in October 2018. The mirror mechanism was changed so that in the future if addresses change, we don't have to touch the provisioning scripts as the address is more general. Also a duplicate entry was removed. Task-number: QTQAINFRA-3279 Change-Id: I65ada052d308eaef0411eb9caad893304eb05ab6 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 5b77e74a5e66be1b0b529ad872d2d80457ef4a84) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Workaround broken local apt mirrorDimitrios Apostolou2019-11-231-0/+4
| | | | | | | | | | | | | Local mirror is mirroring a public mirror, and for some reason there is a mismatch of file sizes and file hashes for the dep-11 metadata files. More info: https://askubuntu.com/questions/823329/how-do-i-disable-fetching-of-dep-11-files Task-number: QTQAINFRA-3351 Change-Id: Ia48936e7d0b9efb2f86fbe001f22f2bd28a7ea3d Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit ef7481b9cd514d0e3d73c5211193d1d100acfe74)
* DownloadURL last argument (targetFile) is now optionalDimitrios Apostolou2019-11-231-1/+8
| | | | | | Change-Id: I0864bcb052cddcc9753c056758b6e65fd561d928 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit 6cc2215b8ce6da477cf23f01ff5b88c0d12c2b88)
* Docker installation: do not depend on external repositoriesDimitrios Apostolou2019-11-231-9/+28
| | | | | | | | | Also updated the docker-compose binary to the latest one. Task-number: QTQAINFRA-3279 Change-Id: Ie09a772ca8247aa5f5bd6d36774b68b6bb846386 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit a270bcdb6beb34d7590378899805391cfcfe7091)
* Provisioning: Update Xcode package for macOS 10.14Heikki Halmet2019-11-231-1/+1
| | | | | | | | | | | Apple's certification was expired so Xcode 10.2.1 package needs to be updated from the Apple's download server. Old one causing problems with RTA tests. Task-number: QTQAINFRA-3317 Change-Id: I5006f95ab420e26523d2621800d80322a52bb9a2 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit 5b752460bc37ce298c332d7b1d500242068d66e6)
* Add allowUntrusted parameter for command line tools and refresh XcodeHeikki Halmet2019-11-232-2/+2
| | | | | | | | | | | | | | Apple has signed their packages with certificate which has been expired 24.11.2019. Packages are unusable without allowUntrusted parameter Also Xcode package for macOS10.13 needs to be refetched from Apple's download to local cache Task-number: QTQAINFRA-3317 Change-Id: Iebbe81ee0c360e5f0b49d422b38fe1a148424891 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit eb0ef419ec91ed580b13d54bf480087b7d33c2e1)
* Fix for DownloadURL to try alternative URLDimitrios Apostolou2019-11-231-2/+2
| | | | | | | Change-Id: I7e9a77815ef8f4c258dda44bda6fdd4eb3736ef4 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 518e114dc71fb58d175a15afb282ac7f6dff6adc) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Remove execute permissions from scripts not run on UnixEdward Welbourne2019-10-072-0/+0
| | | | | | | This amends 38e416be664dc216b332e6b4ff8d38905dfdc1e9. Change-Id: I8b0f4f72565b30b097cb36092f7cb90d61c1487e Reviewed-by: Liang Qi <liang.qi@qt.io>
* 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>
* 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 remote-tracking branch 'origin/5.13.1' into 5.13Liang Qi2019-09-271-0/+24
|\ | | | | | | | | | | | | Conflicts: coin/platform_configs/qt5.yaml Change-Id: Iaeec542042807c00e4c2597b546b00ce0f267b48
| * 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>
* | 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>
* | 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>
* | Provisioning: Use correct sysroot path for QEMU armv7 in qtdeclarativeAssam Boudjelthia2019-09-101-1/+1
| | | | | | | | | | | | Task-number: QTQAINFRA-2808 Change-Id: Ia0caf7003a5bd67dc220f0a3a1da06646ca6b657 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-09-094-5/+28
|\ \ | | | | | | | | | Change-Id: Iffcf9b199df17a50acf03e29b9deae033396dfcb
| * | Saferenderer: Update qtci-linux-RHEL-7.4-x86_64 static buildTuomas Heimonen2019-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add build flag '-no-opengl' to remove xcb from static build Add build flag '-no-vulkan' to disable vulkan Task-number: QSR-517 Change-Id: I7d6f5c507bd96aed024d3cf74029feb12ad77bca Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
| * | Provisioning: Fix version of libiodbc on MacOsAssam Boudjelthia2019-09-062-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | libiodbc latest version (3.52.13) was automatically installed causing qt-config-gui to fail build, this installs version 3.52.12. Task-number: QTQAINFRA-3188 Change-Id: I5b87ff04c2301a5471cc9abfa0849b6073a1bdd4 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Saferenderer: Update qtci-linux-RHEL-7.4-x86_64 static buildTuomas Heimonen2019-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add build flag '-no-xcb' to remove xcb from static build Task-number: QSR-517 Change-Id: I9b77cd0ada41490233ec2aedb877a37bf2648a1b Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
| * | Remove un-needed configure arguments for Apple OSesTor Arne Vestbø2019-09-051-3/+3
| | | | | | | | | | | | | | | Change-Id: I18bab0c70bbb9486eef815f9310dd807ae5cde83 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
| * | Saferenderer: Update qtci-linux-RHEL-7.4-x86_64 static buildTuomas Heimonen2019-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add build flag '-qpa offscreen' to remove dependency to xcb libraries Task-number: QSR-510 Change-Id: Icc87face742abe775147d9bf931dbbdaee81fab1 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
| * | Saferenderer: Update qtci-linux-RHEL-7.4-x86_64 static buildTuomas Heimonen2019-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add build flag '-no-icu' to remove dependency to icu libraries Task-number: QSR-499 Change-Id: I788de8dfdeb9845e9135e83a424468d2f5ca20d2 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
* | | Provisioning: Add emsdk to macOS 10.14Heikki Halmet2019-09-091-0/+6
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3191 Change-Id: I46a72db63966804b33996d8bc3babe50cd2a41dd Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Provisioning: update QEMU toolchainsAssam Boudjelthia2019-09-074-22/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update QEMU toolchains to Yocto thud(2.6) release(DC Qt 5.13.0) with GCC 8.2.0. * Suppress QEMU "Unsupported syscall" and "Unsupported ioctl" logs, set environment variable QEMU_SYSCALL_DEBUG to show them. Task-number: QTQAINFRA-2808 Change-Id: I987353b0f3aff87a02ea3bf96ace8de32d6f557b Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | | Provisioning: Add Android NDK ROOT to environment variableHeikki Halmet2019-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3181 Task-number: QTBUG-74952 Change-Id: I4cc6936c3b3eef32a1013888ced3950cd1f39407 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* | | Provisioning: Update Android NDK version to macOS 10.14Heikki Halmet2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we are provisioning older Android NDK version than the one used in macOS 10.13. Let's keep these sync even though we don't currently make Android builds with macOS 10.14 Change-Id: I6c284d50bac395eb474c0f7e34cd90eda3f180c3 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* | | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-08-2834-22/+1070
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/default.yaml coin/provisioning/common/linux/disable-ntp_linux.sh coin/provisioning/qtci-linux-SLES-12-x86_64/55-emsdk.sh coin/provisioning/qtci-linux-SLES-15-x86_64/55-emsdk.sh emsdk.sh was moved from linux to unix, see 38e416be664dc216b332e6b4ff8d38905dfdc1e9 Change-Id: I5b06dde2860a4e4869960ae2a5be1d6a1396e957
| * | Update Saferenderer static buildsTuomas Heimonen2019-08-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qtci-windows-10-x86_64-10 static build: remove flag '-developer-build' qtci-linux-RHEL-7.4-x86_64 static build: add flags '-no-fontconfig' and '-qt-freetype', remove flag '-developer-build' Task-number: QSR-491 Change-Id: I886ffbe9900ee63cd35e845b591086397c572abc Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| * | Update Saferenderer static buildsTuomas Heimonen2019-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | DisableTests on qtci-windows-10-x86_64-10 Add flag '-qt-libpng' to qtci-linux-RHEL-7.4-x86_64 Task-number: QSR-432 Change-Id: I3efc7f84f6c2eed49602e491f20f5a4f47512524 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
| * | Suppress QEMU syscall and ioctl debug messagesAssam Boudjelthia2019-08-211-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Compile QEMU with "Unsupported syscall" and "Unsupported ioctl" messages suppressed, those can be shown by set/unset environment variable QEMU_SYSCALL_DEBUG. Task-number: QTQAINFRA-2808 Change-Id: If0b28c47f2599c4ebca9cae6a6d38f9a4fd00458 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Provisioning: Update iOS signing toolsHeikki Halmet2019-08-192-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | new apple id is required with notarization Task-number: QTBUG-77359 Change-Id: I2aafda37d40608296d598b1d9ade83a025bcac8d Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
| * | Add Packaging to Saferenderer static buildsTuomas Heimonen2019-08-151-1/+2
| | | | | | | | | | | | | | | | | | Task-number: QSR-432 Change-Id: I6e1c52a52dd5a6b92eceb13aa8f650bcce0e1fa3 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
| * | Add Suse Linux Enteprise Server 15 to the CITony Sarajärvi2019-08-1415-0/+503
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3123 Change-Id: I725c58c7d319945f7470118dec99b5360385da7b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>