aboutsummaryrefslogtreecommitdiffstats
path: root/coin
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: update Conan and Conan packages to latest versions5.13Konstantin Tokarev2020-02-2354-2567/+2155
| | | | | | | | Task-number: QTQAINFRA-3556 Change-Id: If9c600a6bb3aae893924f9372c8b248d3e58f887 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit b73e61a458b6cce4cbb5546a912b9def52779d51) Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
* Provisioning: Update jinja2 to 2.10.3Dominik Holland2020-02-231-1/+1
| | | | | | | | | | | This makes sure we don't run into CVE-2019-10906 when using jinja2 in QtIvis Autogenerator. Change-Id: If51bf54bd26858c6b5faa3dd6a6627f2979b862d Reviewed-by: Robert Griebl <robert.griebl@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 7b4b2f86a03a176fa5fe0ca1059dc4935c1e665f) Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Install QEMU from .deb package from internal cacheAssam Boudjelthia2020-02-201-27/+59
| | | | | | | | | | | | | QEMU cloning and building with each provisioning takes time, thus installing it from a prebuilt installable package can save lots of time in provisioning. Task-number: QTQAINFRA-3396 Change-Id: I3e9b0fedeecb6ddbae3997742827552ce9419399 Reviewed-by: Dimitrios Apostolou <jimis@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit 51417379f73474b78a8592a2aa933ed7a328d97a) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Fix openssl build in SLES-15Dimitrios Apostolou2020-02-201-0/+3
| | | | | | | | | | | | | | Upstream changes of binutils or elfutils broke the build. Error was: /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/libc_nonshared.a(elf-init.oS): unable to initialize decompress status for section .debug_info /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/libc_nonshared.a: error adding symbols: file format not recognized collect2: error: ld returned 1 exit status Task-number: QTQAINFRA-3527. Change-Id: I50b677598b4415a281abbf0ddb2db39613646b36 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit eee60c0824a6ef6f50d0fc18a0e0908d9ab93be4) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Workaround broken local apt mirrorDimitrios Apostolou2019-11-141-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>
* Keep debug trace off to avoid polluting the logsDimitrios Apostolou2019-11-141-1/+1
| | | | | Change-Id: I8a2d878a52b5e0a818d7f80fff495feca84d0e9c Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Docker installation: do not depend on external repositoriesDimitrios Apostolou2019-11-141-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>
* Fix cache URL for telegraf windows packageDimitrios Apostolou2019-11-141-1/+1
| | | | | | Fixes: QTQAINFRA-3340 Change-Id: Ie7bad3666094e3f8f8e8971c2bfe05457ca6cd45 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* DownloadURL last argument (targetFile) is now optionalDimitrios Apostolou2019-11-141-1/+8
| | | | | Change-Id: I0864bcb052cddcc9753c056758b6e65fd561d928 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Install pre-builded openssl for Windows 7Heikki Halmet2019-11-121-3/+5
| | | | | | Task-number: QTQAINFRA-3224 Change-Id: I972b497e1a98f2ebbb6633158714409313cf0506 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Hide password with /dev/nullHeikki Halmet2019-11-023-6/+33
| | | | | Change-Id: Ic60ba668764c928977c826e02686a0cd341b995f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Remove Red Hat 6.6 from provisioningHeikki Halmet2019-11-0216-438/+0
| | | | | | | | Task-number: QTQAINFRA-3260 Change-Id: If6078a36e9ab7730cacb81a9c417c87455db89cd Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Dimitrios Apostolou <jimis@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Upgrade OpenSSL version to 1.1.1dHeikki Halmet2019-11-026-89/+12
| | | | | | | | Plus removing unused file install_openssl_111a.sh Task-number: QTQAINFRA-3224 Change-Id: If5f9ee12e118e0329eb27f8d3ca9829011874382 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Update Xcode package for macOS 10.14Heikki Halmet2019-11-021-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>
* Remove more of update notifiersTony Sarajärvi2019-11-011-1/+1
| | | | | Change-Id: I507f584ef82b5f41f6b1cbc22fdd4ff6eff5e911 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Change local Ubuntu repo mirror in provisioningTony Sarajärvi2019-11-011-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>
* Add allowUntrusted parameter for command line tools and refresh XcodeHeikki Halmet2019-10-292-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>
* Provision gnuwin32's pathTony Sarajärvi2019-10-261-0/+1
| | | | | | | | | | By provisioning the path to gnuwin32, we can remove the hard coded paths from Coin. Task-number: QTBUG-73422 Change-Id: Ice96fcd992e22ed39b66496403b9eaa99a6865a0 Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Disable automatic cleanup from windowsHeikki Halmet2019-10-184-0/+11
| | | | | | | | Task-number: QTQAINFRA-3238 Change-Id: Ie64086b650016adb7129bd4c4592ca987cc1453b Reviewed-by: Daniel Smith <Daniel.Smith@qt.io> Reviewed-by: Dimitrios Apostolou <jimis@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* QNX: Use extprefix for the host pathSamuli Piippo2019-10-162-7/+7
| | | | | | | | | | Use extprefix instead of prefix, so that the target deployment path won't contain host paths. Especially needed to avoid Windows host paths on target. Prefix will default to /usr/local/Qt-x.x.x Task-number: COIN-48 Change-Id: Ie888dace694294b72a32913b65a191b4bcb78371 Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>
* Update epel package to latest versionDimitrios Apostolou2019-10-151-3/+3
| | | | | | | The online repo only contains the latest version. Change-Id: I2dfbc3c2a873ed3758672682b09c0205bfa19549 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix for DownloadURL to try alternative URLDimitrios Apostolou2019-10-151-2/+2
| | | | | Change-Id: I7e9a77815ef8f4c258dda44bda6fdd4eb3736ef4 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* First try cached URL before hitting the official repoDimitrios Apostolou2019-10-151-1/+1
| | | | | Change-Id: Id0cf89090155459fd660d55ce427cd34bf3136f5 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Update previously committed patch to match the branch's platformsDimitrios Apostolou2019-10-154-6/+0
| | | | | | Task-number: QTQAINFRA-3092 Change-Id: I598759f0624e478a07cfe3256cbeba2f2b8bfe02 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* 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>
* 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>