aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning
Commit message (Collapse)AuthorAgeFilesLines
* Provisioning: Change mounting folder for Squish installationHeikki Halmet2020-06-101-4/+3
| | | | | | | | | | | | | | Sometimes some process is locking the mounted folder (/tmp) so that it can't be unmounted untill the process has been ended. Let's create squish folder under tmp and use that for mounting instead Task-number: QTQAINFRA-3709 Change-Id: I49ab8fd90af37a670e45764a176b62d7a732cc6c Reviewed-by: Dimitrios Apostolou <jimis@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit c671c2352e1db453da17d346316acfa627617786) Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Provisioning: Install Node.jsHeikki Halmet2020-06-097-1/+81
| | | | | | | | | | Node.js is needed by QtWebengine Pick-to: 5.15 Task-number: QTQAINFRA-3729 Change-Id: I23ece8567c569d8376eff52b7845589c60d069b8 Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Provisioning: Fetch pre-installed squish from local cacheHeikki Halmet2020-06-092-208/+88
| | | | | | | | | | | | | | | Squish installation is flaky so the installation phase has been moved from provisioning to Jenkins. Jenkins job will install the squish to target VM and copy it to local cache. This change only fetch the installed squish packages from local cache and uncompress those to VMs. Task-number: QTQAINFRA-3510 Task-number: QTQAINFRA-3107 Change-Id: I862da3250120dc6a43d9c04d973a25a691ca66a1 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> (cherry picked from commit b0286d6cd6c86cfc3c5dbd5a3879354996632831) Reviewed-by: Toni Saario <toni.saario@qt.io>
* Provisioning: Use signed opengl32 packageHeikki Halmet2020-06-051-7/+7
| | | | | | Task-number: QTBUG-80252 Change-Id: Ife9942796ed64c4e2894fb3342259c674cf5d7ed Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Update provisioned CMake version to 3.17.2Alexandru Croitor2020-05-263-6/+6
| | | | | | | | | | | This should fix the ninja deps issue we had on Windows with the Ninja Multi-Config generator, where calling ninja a second time to rebuild the project failed. More details at https://gitlab.kitware.com/cmake/cmake/-/issues/20723 Change-Id: I0029e57fbc704120d2241499a87cad0ad40c2e50 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Provisioning: Change resolution for Windows 10 x86_64Heikki Halmet2020-05-221-0/+25
| | | | | | | | Currently we have wrong resolution (1024x768) for 64-bit Windows. Correct one is 1280x800 Change-Id: Ifc17933a5901681a917f973cab4d7c1ca1dfbd9f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Provisioning: Set macOS locale to "en_US.UTF-8"Alexandru Croitor2020-05-073-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 419f42903154489e2dace8d1eba183036275448b commit in qtbase introduced a regression where the tst_fusion test in qtqtuickcontrols2 hits a deadlock while trying to print a warning about a non-UTF-8 locale. The warning is due to the fact that the agent executed in Coin's VM does not have an explicit locale set, and thus it defaults to "C". There is no explicit locale set in any .bashrc (or similar files), and neither in any launchd configuration (because the agent is executed at macOS startup via launchd). The deadlock is due to trying to acquire the same lock twice while trying to write output to stdout. The test only deadlocks on CMake configurations, and not qmake configurations, because Coin has a hardcoded instruction to set the locale to UTF-8 when running qmake tests. Until the deadlock situation is addressed in another change, the issue can be fixed by setting the macOS configuration locale to UTF-8 explicitly, by assigning the LANG environment variable into ~/.bashrc at provisioning time, like we do with other environment variables like PATH. Fixes: COIN-578 Change-Id: Ib6a5849a6868c1776dd425aeb8b5e7d6faa8cde0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Merge remote-tracking branch 'origin/5.15' into devLiang Qi2020-04-3049-26/+1049
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/default.yaml coin/platform_configs/qt5.yaml coin/platform_configs/qtbase.yaml coin/platform_configs/qtwebkit.yaml coin/provisioning/qtci-linux-Ubuntu-18.04-x86_64/02-apt.sh Change-Id: If6b0f7a671a69d6a2444ee4d26b324e4d269970c
| * Provisioning: Add sleep before killing gpg-agent in msys installationHeikki Halmet2020-04-301-0/+3
| | | | | | | | | | | | Task-number: QTQAINFRA-3691 Change-Id: If84fd2d0d1cd6dccadf21cbf688aca6182cdd920 Reviewed-by: Simo Fält <simo.falt@qt.io>
| * Merge remote-tracking branch 'origin/5.14' into 5.15Liang Qi2020-04-2425-6/+897
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Merge remote-tracking branch 'origin/5.14.2' into 5.14Liang Qi2020-04-2312-0/+844
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules Change-Id: I950588f85d1b39ba6ce994821db9f340b72fa6d2
| | | * Provisioning: install dwz 0.13 to RHEL 7.6Konstantin Tokarev2020-03-052-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is used for compression of QtWebKit debug info, saving about 1Gb (~40%) for non-compressed debug file of libQt5WebKit.so, and ~50% of 7z-compressed debug package. Version 0.12 provided in RedHat devtoolset exposes a bug when applied to QtWebKit debug info: https://sourceware.org/bugzilla/show_bug.cgi?id=24251 Change-Id: I0395aadfb7babbbc150f367f8b5dd296dc6d2064 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | | * Provisioning: Install QtWebKit dependencies on Ubuntu 18.04Konstantin Tokarev2020-03-051-0/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib9a142ed6641436669c31ae8489ab9c89576e77a Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | | * Provisioning: Install Conan packages for VS2019Konstantin Tokarev2020-03-059-0/+726
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibbee96ea7ad9e054e1521c897206c9863acc9c08 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * | Provisioning: Remove notifications and warnings from macOSHeikki Halmet2020-04-143-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notifications and warnings in UI might affect RTA and autotests results Change-Id: I447dab3ba839d2c577f633cbf96fc7f3e5fdfe25 Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
| | * | Provisioning: Disable Connected User Experiences and Telemetry serviceHeikki Halmet2020-04-112-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3609 Change-Id: Ie4df9a3b47cf9adcfc0afa1eaf75386e9452fd42 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * | Provisioning: Activate subscriptionsHeikki Halmet2020-04-091-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3638 Change-Id: Ide5599a45b918dcbd44a7d60a78c3a4811d80943 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * | Provisioning: Add git installation for Windows 10 x86Heikki Halmet2020-03-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RTA needs git Change-Id: I1b295b364376aff2e548b2376e920cc513fac30c Reviewed-by: Matti Paaso <matti.paaso@qt.io>
| | * | Provisioning: Disable notificationsHeikki Halmet2020-03-302-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Having notifications enabled will eat VM resources (CPU). Change-Id: I2af7fbc7afeb9436164915353998abf219d495ed Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * | Update Windows 10 x86 to version 1909Heikki Halmet2020-03-264-4/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are also updated to tier1 image: msvc 2017: 15.9.21 msvc 2017 build tools: 15.0 (26228.10) msvc 2019: 16.4.6 msvc 2019 build tools: 16.4.6 Change-Id: I41ae0e287ccf74183438d7a7bff639fd78e86e7a Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Don't manually rerun conan Run-Conan-Installv5.15.0-beta4Mårten Nordheim2020-04-151-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | Modern conan will retry downloads on its own. Change default number of attempts to 5 for more reliability. Change-Id: Iafd4845b31c3e5fb296ba0b897cbf2030c412b04 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
| * | qdb building for macRami Potinkara2020-04-154-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Provisioning: Update Windows 10 x86_64 to version 1909v5.15.0-beta3Heikki Halmet2020-04-042-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are also updated to tier1 image: msvc 2017: Not installed msvc 2019: version 16.4.4 msvc 2019 build tools: version 16.4.4 Task-number: QTQAINFRA-3623 Task-number: QTQAINFRA-3417 Change-Id: I006204ca090c4e2cf0d2ffc2309ab6b94f9b7d47 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Update MinGW 7.3.0 to Mingw 8.1.0Tony Sarajärvi2020-03-233-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3304 Change-Id: I4a962c112f4925224e91c08117c7324112d70729 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
| * | Provisioning: Bump emscripten version to 1.39.8 on WindowsLorn Potter2020-03-201-29/+32
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3577 Change-Id: I63b06a8ac0b4a7233ed9031c7354f3b355c9f8ad Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
| * | Provisioning: Bump Emscripten version to 1.39.8Morten Johan Sørvig2020-03-122-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upstream URLs have changed: - emscripten packages now at github.com/emscripten-core/emscripten/archive/ - binaries (llvm/binaryen/node) now at storage.googleapis.com/webassembly/emscripten-releases-builds/ Add support for unpacking tbz2 files. Keep caching as before, update .emscripten config file with new paths. Task-number: QTQAINFRA-3577 Change-Id: I53e72f19d3eefa0e2155493db4f93c8730c60334 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
| * | Update openSUSE to 15.1Tony Sarajärvi2020-03-0914-1/+1
| | | | | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3455 Change-Id: Ie795f19c26ab0c42693388696edb344b4fa121a6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | Provisioning: Bump emscripten version to 1.39.8 on WindowsLorn Potter2020-04-041-29/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 939c0140394f180f608cfea42baf11502dba78f6) Task-number: QTQAINFRA-3577 Change-Id: I5842158c0a11b29791fcb97d4523467de899e1e2 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Provisioning: Bump Emscripten version to 1.39.8Morten Johan Sørvig2020-04-042-32/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 10e843566e6a2b8c4354d677c5288802337dfae6) The upstream URLs have changed: - emscripten packages now at github.com/emscripten-core/emscripten/archive/ - binaries (llvm/binaryen/node) now at storage.googleapis.com/webassembly/emscripten-releases-builds/ Add support for unpacking tbz2 files. Keep caching as before, update .emscripten config file with new paths. Task-number: QTQAINFRA-3577 Change-Id: I239aaf89bc199e5f6267519861f9b2ab54f10b0f Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Update Yocto SDKs to WarriorSimon Hausmann2020-03-191-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | This is needed to include various fixes to allow building the CMake port against the contained sysroots. Change-Id: I42fc055a0e1e2abe5567b9ac3e1bc5e20fcd9900 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Update provisioned CMake version to 3.17.0-rc2Alexandru Croitor2020-03-093-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | We want to test debug_and_release builds with CMake as soon as possible. Change-Id: I7d4c0a4e33adc26129844ff34ea8df6b149e184f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | Remove vcpkg provisioning and configure argumentsAlexandru Croitor2020-03-065-150/+0
| | | | | | | | | | | | | | | | | | | | | | | | Now that qtbase supports building bundled 3rd party libraries, we should have no need for vcpkg in Coin anymore. Change-Id: I7aa7b0323416b60ffb0cd70eec287e5f25963d9a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Merge remote-tracking branch 'origin/5.15' into devLiang Qi2020-02-28132-3253/+2571
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitmodules coin/platform_configs/default.yaml coin/platform_configs/flashing-wizard.yaml coin/platform_configs/qt5.yaml coin/platform_configs/qtbase.yaml coin/platform_configs/qtconnectivity.yaml coin/platform_configs/tqtc-qt-config-gui.yaml coin/provisioning/qtci-linux-SLES-15-x86_64/02-zypperpackages.sh Change-Id: I7af8a52d8b4452211982d86105dafacdd3d845c0
| * | Merge remote-tracking branch 'origin/5.14' into 5.15Liang Qi2020-02-2554-2567/+2155
| |\| | | | | | | | | | Change-Id: Ib51a6d362bf9cc5f6e6f56feadfe264216e24223
| | * Provisioning: update Conan and Conan packages to latest versionsKonstantin Tokarev2020-02-2254-2567/+2155
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3556 Change-Id: If9c600a6bb3aae893924f9372c8b248d3e58f887 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| * | Provisioning: Update GCC to version 9.2 for Ubuntu 18.04Heikki Halmet2020-02-192-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | GCC bug which breaks Webengine build should be fixed in GCC 9.2 Task-number: QTQAINFRA-3534 Change-Id: Ie0df7c67e0e96cca5632bcd0e6a3db822fcbffbe Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| * | Merge remote-tracking branch 'origin/5.14' into 5.15Liang Qi2020-02-1630-56/+176
| |\| | | | | | | | | | Change-Id: I604824d346aed06b2e4e62b401fdc1d7040145c2
| | * Provisioning: Make sure that Perl's Data:Dumper is installedHeikki Halmet2020-02-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Data:dumper is critical for release script build.pl. Currently data:dumper is installed by devtoolset as a dependency for autoconf. But, it seems, that in earlier version of devtoolset the autoconf wasn't installed by devtoolset which caused the failure with build.pl. Change-Id: I487a17ca0eb37c5984eb2f195e1024ed019b80d2 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
| | * Try to catch all errors when sdkmanager installsDimitrios Apostolou2020-02-153-3/+14
| | | | | | | | | | | | | | | | | | Task-number: QTQAINFRA-3531 Change-Id: I008c31a824287c60e67a665d0c2a3aebec863929 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Update python3 version on SLES-15Dimitrios Apostolou2020-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | We update to the latest 3.7.x maintenance release for security/stability. Change-Id: Ic2c251ab8e0db2c5e622f685e54e5cdd715723fc Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Refactor python3 installation in SLES-15 provisioningDimitrios Apostolou2020-02-152-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Use DownloadURL to download from local cache + Verify download SHA + Silence the tarball extraction + Install some generic packages in 02-zypper.sh + Use some other generic facilities from common.sourced.sh + Other minor changes Task-number: QTQAINFRA-3528 Change-Id: Ic085d43381e220a0a4a52ef6d5bb0cf8a9bf7032 Reviewed-by: Heikki Halmet <heikki.halmet@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>
| | * Update telegraf versionDimitrios Apostolou2020-02-153-10/+8
| | | | | | | | | | | | | | | Change-Id: I1a023e4f1de860a03a135f3b10f2c99d5309dd8b Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Silence the sdkmanager progress bar on macosDimitrios Apostolou2020-02-152-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | The exact same method is already in use on all Linux provisions, it was just copied to macos. Change-Id: I873f6efd99b147c5364e0dda6c26c7dad7dee480 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Silence sdkmanager on WindowsDimitrios Apostolou2020-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | sdkmanager is already silenced on the other OSes, as it prints thousands of lines of progress bars in the logfiles. Change-Id: I4a2aa422a83cfe5fc6a3a7ba7be69e1e9c01acc0 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Print filesystem information at the end of each provisioningDimitrios Apostolou2020-02-152-0/+12
| | | | | | | | | | | | | | | Change-Id: I549a917126954fae62dcdebb5c45a4f6aeb07551 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Windows now report versions.txt and df info at the end of provisioningDimitrios Apostolou2020-02-157-0/+12
| | | | | | | | | | | | | | | Change-Id: Ic2b299c04c91eb498822aca110cea774fdb7cf17 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Mask PackageKit on SUSEDimitrios Apostolou2020-02-153-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a flaky conflict between zypper and packagekitd. packagekit is a *static* unit, that means it is missing an [Install] section, so it can't be enabled or disabled. It is started as a dependency by other units, or by dbus activation. We *mask* the unit to make it impossible to start in any way. For that we had replace a few occurrences of "pkcon" with the native package manager. Finally the package "libpython3_4m1_0" is not being installed any longer because it never was: this package does not exist. It's just that pkcon does not fail on invalid package names. Fixes: QTQAINFRA-3523 Change-Id: I6ff580afb05aa508042c444b2ce777c3a9443dfe Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * 08-pythondev build should not execute external scriptDimitrios Apostolou2020-02-151-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The important bits of the script were copied and modified. NOTE that we no longer build openssl from source, the distro (SLES15) provides a version that works well. Task-number: QTQAINFRA-3528 Change-Id: Iad63d75055a7efc3e104789e4a515b8511cf0880 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
| | * Extract archive directly to destination filesystemDimitrios Apostolou2020-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Save some seconds or even minutes during provisioning, by avoiding copying many files across filesystems, from /tmp to /usr/local. We now install directly to /usr/local. Change-Id: I3a8f545f1400995095193c4eb337f9dd8534ef72 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>