aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/macos
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: Remove deprecated brew callSimo Fält2020-12-301-2/+0
| | | | | | | Change-Id: If956d0f77cd5c6763fc2314277c346d8f27e6eee Reviewed-by: Heikki Halmet <heikki.halmet@qt.io> (cherry picked from commit 0350263a07b49532623110e2aa5cf64ea3165246) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Provisioning: Fix installing nodejs and libusb to MacOS 10.13Simo Fält2020-12-301-1/+1
| | | | | | | | Brew doesn't provide pre built binaries of nodejs nor libusb for 10.13. Change-Id: I9e8b47dbbfde05fc38661df6c834b0ff3f2754f2 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.14' into 5.15Liang Qi2020-04-241-0/+7
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/qt5.yaml coin/platform_configs/qtsdk.yaml coin/platform_configs/tqtc-qt-rta.yaml coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh Change-Id: I2221262edc024e0aa11b9dab4d08c2df3a0b53b0
| * Provisioning: Remove notifications and warnings from macOSHeikki Halmet2020-04-141-0/+7
| | | | | | | | | | | | | | Notifications and warnings in UI might affect RTA and autotests results Change-Id: I447dab3ba839d2c577f633cbf96fc7f3e5fdfe25 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* | qdb building for macRami Potinkara2020-04-152-0/+86
|/ | | | | | | | | Modified qdb.yaml and created and pkgconfig and libusb relates .sh files so that QDB can be build for Mac OS due to USB Ethernet CDCECM enabling. Task-number: QTBUG-82531 Change-Id: Ia5f970e5940b7d9116831c8174db0ea1b9231234 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Exclude monitoring of some filesystems on macosDimitrios Apostolou2020-02-151-1/+7
| | | | | | | | | | | | | | | For a short time after boot, macos sometimes mounts a filesystem of type "msdos" at the unique path /Volumes/firmwaresyncd.XXXXXX. Telegraf [inputs.disk] plug-in stores records to InfluxDB, with the unique mount path under "path" tag. The uniqueness of the path blows up the cardinality of the database. So exclude "msdos" filesystems from being monitored by telegraf. Additionally exclude "cd9660" filesystems that appear always as 100% full. Change-Id: I4cdd3fca57b3db6157df168cc8a5314e64528b2d Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Print filesystem information at the end of each provisioningDimitrios Apostolou2020-02-151-0/+6
| | | | | Change-Id: I549a917126954fae62dcdebb5c45a4f6aeb07551 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Create more meaningful temporary file namesDimitrios Apostolou2020-02-151-5/+9
| | | | | Change-Id: I4bbc94993e51502ea08109a4c99f3e212349ab24 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Execute a specific version of homebrew install scriptDimitrios Apostolou2020-02-151-4/+13
| | | | | | | | | | | | Also first try to download it from local mirror. This install script appears to be doing a lot of git-cloning and downloading itself though, so it is still far from the ideal solution: to only download from locally cached endpoints. Task-number: QTQAINFRA-3134 Change-Id: I32131045d6e62f302ec666b4ac055ca5ee9662d5 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Provisioning: Upgrade OpenSSL version to 1.1.1dHeikki Halmet2019-11-021-78/+0
| | | | | | | | Plus removing unused file install_openssl_111a.sh Task-number: QTQAINFRA-3224 Change-Id: If5f9ee12e118e0329eb27f8d3ca9829011874382 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Add allowUntrusted parameter for command line tools and refresh XcodeHeikki Halmet2019-10-291-1/+1
| | | | | | | | | | | | | 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>
* Reduce noise in the provision logsDimitrios Apostolou2019-10-012-3/+10
| | | | | | | | | | | | | | 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>
* Adjust pre-existing script to use the new common.sourced.shDimitrios Apostolou2019-09-271-10/+8
| | | | | Change-Id: Icf7829d3499110a76b90679ba2d067f80d189e69 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Install telegraf on all provisioned VMsDimitrios Apostolou2019-09-271-0/+51
| | | | | | | | | | | | | | | | | | 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>
* Increase open files and processes limit on macOSDimitrios Apostolou2019-09-263-0/+112
| | | | | Change-Id: If93bbe067f76168a7c131c6ced187f00a8d908e1 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Brew update only onceDimitrios Apostolou2019-09-262-1/+2
| | | | | Change-Id: I6c2650574b6b62ceedfc95a9caab7ca26a6fa10b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-09-092-1/+24
|\ | | | | | | Change-Id: Iffcf9b199df17a50acf03e29b9deae033396dfcb
| * 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>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-08-041-0/+78
|\| | | | | | | Change-Id: Ie49f7e5ff9ca02522c6611922b47870aba2c152e
| * Add macOS 10.14 to the CITony Sarajärvi2019-08-031-0/+78
| | | | | | | | | | | | | | Task-number: QTQAINFRA-2938 Change-Id: Id25c6c3203a07985c9ef1cc914c4398ac7db615c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-08-032-0/+96
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules ignore QtWebEngine on QEMU temporarily. coin/platform_configs/default.yaml no-gui build was removed temporarily. coin/platform_configs/qt5.yaml coin/platform_configs/qtbase.yaml coin/platform_configs/qtconnectivity.yaml coin/platform_configs/qtsaferenderer.yaml Task-number: QTQAINFRA-2576 Task-number: QTBUG-77304 Task-number: QTBUG-77305 Done-With: Tony Sarajärvi <tony.sarajarvi@qt.io> Change-Id: If7cf75791677eace762374b92382a2ce15f17f55
| * Provisioning: Change openssl version to 1.1.1bJuha Karjalainen2019-06-101-81/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use newest LTS version of openssl as support for 1.0.2 series will end at end of 2019. For windows 7 x86 openssl 1.0.2 will be used until all need fixed are made to submodule tests Task-number: QTQAINFRA-2327 Change-Id: I930d239cd139b6202ebdfb5cdc8068ff2ad0b8a3 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit 3e838f2a34d0c1538535bd184aa12681497c8a38)
| * Log more version information on macOS provisioningJuha Karjalainen2019-05-122-0/+96
| | | | | | | | | | | | | | | | | | Logs more version information to make easier to reproduce build. Logs macOS build version, homebrew installed packages and apple's installer installed packages. Change-Id: Ia9f2842a3fd2e8e0acf1667c7435a19c7a878aed Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* | Provisioning: Change openssl version to 1.1.1bJuha Karjalainen2019-05-221-81/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use newest LTS version of openssl as support for 1.0.2 series will end at end of 2019. For windows 7 x86 openssl 1.0.2 will be used until all need fixed are made to submodule tests Task-number: QTQAINFRA-2327 Change-Id: I930d239cd139b6202ebdfb5cdc8068ff2ad0b8a3 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-04-131-2/+2
|\| | | | | | | | | | | | | | | | | | | Conflicts: coin/platform_configs/qt3d-runtime.txt coin/platform_configs/qt5.txt coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/04-yocto.sh coin/provisioning/qtci-macos-10.13-x86_64/30-android.sh Change-Id: Ie428600c72b7fe4d7b5fa7583e11aebd47cfb85e
| * Provisioning: Remove certificate printing to logJuha Karjalainen2019-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | macOS openssl provisioning printed certificates to log. This patch prevent printing certificates to log by redirecting it to /dev/null Task-number: QTQAINFRA-2841 Change-Id: I9ec120212a1f068fa040a302cb50e775857cbb74 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* | Provisioning: update python 2.7.14 to 2.7.16Juha Karjalainen2019-04-111-4/+4
| | | | | | | | | | | | | | | | | | Python 2.7.14 used tlsv1 which is no longer accepted by github thus needing update to newer version. Task-number: QTQAINFRA-2900 Change-Id: I4e0790854b7c0732e4064ad355d953eb7b71a2b9 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Provisioning: Remove docker from macOS provisioningHeikki Halmet2019-02-232-134/+0
| | | | | | | | | | | | | | | | | | | | | | | | When docker provisioning starting test-server in virtual box whole virtual machine will reboot. Let's remove docker until it's more stable or we know how to fix it. Task-number: QTQAINFRA-2801 Change-Id: Iad7437a69c954a90522e44ef27015518fa3f8c1e (cherry picked from commit 1865b99b527bd9eee80c39e95d47a44096e44e6a) Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-232-2/+83
|\| | | | | | | | | | | | | Conflicts: coin/platform_configs/default.txt Change-Id: Ie21baa51738ce0761fb45fba3819b1894cc808b6
| * Fix provisioning ODBC environmetal variables had : at endJuha Karjalainen2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | CPLUS_INCLUDE_PATH and LIBRARY_PATH environmental variables had --> : <-- at end of variable. As this adds current dir to search path this is undesirable and causes bugs. Change-Id: Ia36c3f3f791f5d506eea15aba6be6d665049a922 Reviewed-by: Juha Karjalainen <juha.karjalainen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Provisioning: Unify duplicated openssl provisioning scriptJuha Karjalainen2019-01-031-0/+81
| | | | | | | | | | | | | | | | MacOS(10.12 and 10.13) had two identical provisioning scripts for openssl. Now unified under common. Change-Id: If469a56d431e72b291a810fa9c1b701873fe382d Reviewed-by: Aapo Keskimolo <aapo.keskimolo@qt.io>
* | Fix .ci.local to .intra.qt.io in docker provisioningTony Sarajärvi2019-01-071-1/+1
| | | | | | | | | | Change-Id: I9de241e70a5dd15568619da6e4a19d54e76e5a4c Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into devLiang Qi2019-01-022-21/+63
|\| | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/provisioning/common/linux/docker_testserver.sh coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh Done-With: Ryan Chu <ryan.chu@qt.io> Change-Id: I9bc3afcb50783a9f0f7718731d237de4be287cae
| * Provisioning: Install ODBC for macOS 10.12 10.13Juha Karjalainen2018-12-311-0/+54
| | | | | | | | | | | | | | | | | | | | This script installs libiodbc from brew and adds it to CPLUS_INCLUDE_PATH and LIBRARY_PATH thus enabling configure to find it and thus enabling odbc support for qt build on macOS. Task-number: QTBUG-58956 Change-Id: I7f865800b580a87afcc480534da57ee546c74406 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
| * Provisioning: Fix path for fbx filesHeikki Halmet2018-11-131-21/+9
| | | | | | | | | | | | | | | | | | | | Currently Qt3d Studio build don't recognize fbx path because of space in folder name. This change will fix it by taken use the packages which don't have space in the folder name. Task-number: QT3DS-2440 Change-Id: I502bb04489a03a5a81e164f8a86f3200f4ec3910 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | Assert the provisioning process in macOS if VMX is not enabledRyan Chu2018-12-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | The Docker-machine requires VT-x/AMD-v to build up boot2docker virtual machine. The VMX flag should be enabled when deploying the VM into Virtualbox. In the CI framework, it relies on Coin to expose the VMX flag to the CPU feature. To well handle the case that the VMX could be removed due to some CI updates, the provisioning script will assert the process with the related debug message if VMX is not found. Change-Id: I9f3f123d33629df1655a5b55d776d5361878d1f5 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
* | Docker Provisioning: Install Docker-based test servers on macOSRyan Chu2018-10-302-0/+127
|/ | | | | | | | | | Build and cache docker images based on the configurations in testserver. 1. Move the shared Docker files to common/shared/testserver 2. Deploy boot2docker image into VirtualBox via docker-machine commands. 3. Build and tag the docker images by the SHA-1 of server context. Change-Id: Ic5a588e5cc5e753ec4c4e2e1bc79917bbd03f95d Reviewed-by: Edward Welbourne <edward.welbourne@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>
* Change 'test suite' in license headers of prov scriptsTony Sarajärvi2018-09-041-1/+1
| | | | | Change-Id: I9687bcb15b26287ea6eeb2098079137d6e3fc288 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@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>
* Provisioning: Disable spotlight in macOSSimo Fält2018-08-241-0/+38
| | | | | | | | | 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>
* Download and cache needed python wheels during provisioningDominik Holland2018-07-311-1/+5
| | | | | | | | | 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>
* Add macOS 10.13 to the CITony Sarajärvi2018-06-011-1/+5
| | | | | | | | | | | Includes provisioning scripts and modifications to default.txt enabling the build. Builds are disabled while fixing or blacklisting autotests. Task-number: QTQAINFRA-1299 Task-number: QTQAINFRA-1300 Change-Id: I0fde33c8028c7ded9d07e8d9cb0dcfb03d5db188 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Fix shellcheck complaints in common macos provisioning scriptsTony Sarajärvi2018-04-297-11/+11
| | | | | | Change-Id: I9d6891a2956f66ebf2ca759c4085acad30a84618 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Provisioning: Upgrade pip to latest versionHeikki Halmet2018-04-153-4/+24
| | | | | | | | | | | | Latest pip version is not installed during python installation. Pip need to be reinstalled after python installation because older version of pip seems to cause installation problems randomly at least with python 2.7 Task-number: QTQAINFRA-1902 Change-Id: If3d74130ecee6e410c64cad309feff9edc0e5db0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
* Make unzip less verbose in macOSTony Sarajärvi2018-03-221-1/+1
| | | | | Change-Id: I83249f724ecbfeeb4fd5c1cd33a9c6195c590c4b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Provisioning: Fix java installation for macHeikki Halmet2018-03-191-19/+10
| | | | | Change-Id: I3b6672e671720416af71631c2f9ce814f07e596a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Remove try_catch codes from common macOS scriptsTony Sarajärvi2018-03-196-321/+106
| | | | | Change-Id: I66291e2da5514499387b61e01ad85a652cd24d7b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Disable update download in backgroundTony Sarajärvi2018-03-181-0/+3
| | | | | | | Task-number: QTQAINFRA-1852 Change-Id: I6d8e433fa40dd080fe84efcf3d0c655d14f86010 Reviewed-by: Joni Jäntti <joni.jantti@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>