Commit Graph

5054 Commits

Author SHA1 Message Date
Toni Saario
0b6942d8db Remove dummy test instructions
These cause Coin to spawn VM for setting one env variable.

Change-Id: Ie782edc11382dace7a22ac16b1c58a2e9d26905f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 2056362e26)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-09-22 09:46:23 +00:00
Pasi Petäjäjärvi
0f4f8bf10c CI: Use TCP protocol by default when mounting on QNX qemu
Ubuntu 22.04 has entirely disabled using UDP protocol for NFS mounting
support and QNX mount command uses that by default.

https: //discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668

Fixes: QTBUG-104229
Change-Id: I9457153ca524009bc7358346a873b8842a65c50a
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 08ba3ff882)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-09-08 12:27:35 +00:00
Tor Arne Vestbø
84d3f4b7fe coin: Install local Homebrew formulas explicitly as formula
Otherwise we end up with scary warnings like:

Error: Failed to load cask: ./coin/provisioning/common/macos/libiodbc.rb
Cask 'libiodbc' is unreadable: wrong constant name #<Class:0x00007fb4f589d2d8>
Warning: Treating ./coin/provisioning/common/macos/libiodbc.rb as a formula.

Change-Id: Ief1b78c70367c740ce7eeca9110c3cf41372f53a
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit d3867057b9)
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-08-29 13:16:32 +00:00
Assam Boudjelthia
7cf4f71c68 Coin: Add Android OpenSSL scripts to macOS 12 provisioning target
Fixes: QTBUG-105594
Change-Id: I4980f27e216c627c1675d04ed1bb5f5b9d62f2c0
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 8cc7a5f450)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-29 13:08:28 +00:00
Tatiana Borisova
36b79abe2c Exclude timezone functionality from INTEGRITY build
- Device doesn't support full functionality

Change-Id: Ie0293e9d1ec9c5500e2c63e0c7ff8cc32015a454
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 41f0e6d7b0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-27 06:12:20 +00:00
Heikki Halmet
5cb39d9c68 Update Xcode version to 13.2.1 for macOS 11
This is needed for QTQAINFRA-5109

Task-number: QTQAINFRA-5109
Change-Id: I49dafa26ef2aafe6e1c9f9cab87486675283c305
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit d4602891f2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-27 06:12:19 +00:00
Heikki Halmet
c3584de840 Include needed Platform dependency for nightly QNX_710 windows target
Change-Id: I753245ae5641a45286c394cfb2696da6796d664d
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 5af40232de)
2022-08-26 11:09:43 +03:00
Tommi Mänttäri
a8a0e6cc19 CI Nightly: add Windows host support for QNX
Add required configurations to Nightly run for building
Qt SW in Windows host for QNX OS.

Task-number: QTBUG-101292
Change-Id: I689abd6596bf1ab1f30ba07c198e12569dbf2164
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 857ae6e1e1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-25 04:58:49 +00:00
Qt Submodule Update Bot
084924307a Update submodules on '6.3 in qt/qt5'
Change-Id: Ifac85de99bae56ecbe05385ac4d2dda1bff90350
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-24 00:37:04 +00:00
Qt Submodule Update Bot
aeaa5c47f7 Update submodules on '6.3 in qt/qt5'
Change-Id: Id1ccf4fac9c3884f1816cbcea72d802939ff1269
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-22 17:32:33 +00:00
Pasi Petäjäjärvi
ad01aeb2d1 CI: Make QNX 710 x86_64 significant
Task-number: QTQAINFRA-4838
Change-Id: Ib75847afdf6ec4dea32f6b232f53768d2d5df2f9
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit b42e533a6f)
2022-08-22 13:06:56 +03:00
Heikki Halmet
6eed4154dc Fix rmt client setup to repo-clones
Change-Id: I36d8f24b19135345a2829e7521585c0cba9fc41f
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit f794796984)
2022-08-22 10:24:17 +03:00
Qt Submodule Update Bot
de90b96075 Update submodules on '6.3 in qt/qt5'
Change-Id: I69b249963a24f6c53311fe7111e2e9deeb5f6193
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-20 04:15:14 +00:00
Heikki Halmet
9c0a91c301 Provisioning: Update MSVC 2019 version to 16.11.18 in Tier 1
Older version seems to have issues with installer when updating
the visual studio and buildtools versions through installer via
command line.

Task-number: QTQAINFRA-5090
Change-Id: Iaec5391ed7bc9780374a7f971624522dae2feee6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 0507008ff6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-17 16:01:17 +00:00
Samuli Piippo
d5efbfe4e5 QNX: generate wrapper scripts for all hosts
The QNX build done on linux host can be used in installer for all host,
make sure that the wrapper scripts are also available for all hosts.

Change-Id: I564b66682cdfd514e165dfb1542683e9a542a53d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 4ec187cd4c)
2022-08-16 10:29:01 +00:00
Simo Fält
419bf67853 Add wrapper for sccache command in Linux and macOS
The sccache tends to fail every now and then. Adding a wrapper
which calls build tools directly if first call with sccacche fails.

Task-number: COIN-740
Change-Id: Ic03cf991da585d1569387118183763497ea73b72
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit e8495fc86e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-12 13:38:17 +00:00
Simo Fält
ae4687d5bc Provisioning: Remove git installation from macOS 10.14
The script uses homebrew which does not support 10.14 anymore and it
fails. The git was installed due to Conan, but with TestOnly config
it does not need git.

Task-number: QTBUG-105554
Change-Id: I542780d32ebd7054c75a6afa357b3fac898b93cb
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit a992ba9205)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-12 13:38:16 +00:00
Qt Submodule Update Bot
dff659e171 Update submodules on '6.3 in qt/qt5'
Change-Id: I0b3fb316a96c796e16c15cfbce928badd9657efb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-11 19:33:46 +00:00
Qt Submodule Update Bot
4057b73fd1 Update submodules on '6.3 in qt/qt5'
Change-Id: Ice6dc826a034b0c30bffb5abdc20f2c6717b8fd5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-10 02:03:19 +00:00
Alexey Edelev
1e230279fa Use macOS version from the packaging rules to build Qt
Use macOS 12 as the building platform for Qt. macOS 10.14 will be
deprecated as the building platform in Qt 6.5.

Change-Id: I14d850a489efced84aa1e7e294d2ae75f5efa3de
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit c0ecadc049)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-05 17:45:31 +00:00
Tor Arne Vestbø
56d4c68674 coin: Build and test iOS on macOS 12
Ensures a recent Xcode version is used.

Change-Id: I15b82417d336af3ea9ad385bd6d1f4e08d64c6c0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 860bd111e2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-05 00:22:51 +00:00
Qt Submodule Update Bot
e8c8a5d193 Update submodules on '6.3 in qt/qt5'
Change-Id: I9a5a7e06c51e8ea262d721d9bb62eae95750f3d7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-03 16:10:35 +00:00
Qt Submodule Update Bot
73de7ff8b9 Update submodules on '6.3 in qt/qt5'
Change-Id: I2590d53324c5bbb6b0ad7f880bf0b5694ef27796
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-26 00:40:46 +00:00
Simo Fält
69698757d8 COIN: Replace macos-12-arm64-tests with x86_64 in default precheck
There is a shortage of arm based Mac machines in CI so we have
to spare the resources for now.

Change-Id: Ifda8d6fb5ef3224dd001c6bdf2cf2cd14b8cff8a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit b830beb222)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-21 12:05:23 +00:00
Axel Spoerl
470accfdc9 Harden cache delete script and extend to all Linux CI platforms
Log script activities and deleted toplevel cache files/directories.
Use sudo to override permissions in cache.
Remove legacy single file based cache if it exists by error.
Create cache directory with appropriate permissions if missing.

Change-Id: Id6ad930bf8ba9233eeea8a7602d25c98d0058409
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit aa9095d4cd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-21 05:56:33 +00:00
Qt Submodule Update Bot
422edc0bab Update submodules on '6.3 in qt/qt5'
Change-Id: I8f3b052e83e2b7045b5bf34ba8c9b3cc895c467f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-21 04:01:07 +00:00
Axel Spoerl
63209e4bb5 Implement cache cleanup script for openSuSE
Provisioning openSuSE VMs with a populated /home/qt.cache creates
flaky crashes of plasmashell during KDE/Plasma startup.
This scrip wipes the directory at the end of provisioning

Fixes: COIN-897
Change-Id: If61f86843e7b81dfee85610b1cd73bb15ce26658
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit aa6a82d990)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-20 04:43:12 +00:00
Assam Boudjelthia
39da8bd452 Coin:Android: Use VMSize8 for Android test targets
Ensure to explicitly use 8 cores for Android targets runnining
tests to reduce the amount of flaky fails due to the emulator
crashing or freezing.

Task-number: COIN-896
Change-Id: I8b0cfac34aa7fc416166b9f7ae0b3e9d72c62e55
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 39efd3c35f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-19 19:01:13 +00:00
Qt Submodule Update Bot
a3fc8d55c1 Update submodules on '6.3 in qt/qt5'
Change-Id: I55fba08167613996b12070b2423ac865d7df0de8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-19 11:24:12 +00:00
Qt Submodule Update Bot
d1fd21d0cc Update submodules on '6.3 in qt/qt5'
Change-Id: I9285b98ae040fa30fcaa234a39e67807bacb0c03
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-15 22:04:23 +00:00
Assam Boudjelthia
9f23169b5c Use 4 CPU cores for tqtc-android-automotive test VM
The current cores count is 2 and that's leading to failures
in tests execution.

Change-Id: Ia442c66f0c6246114f43f812240ad469dc705424
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit dcc3d699fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-15 17:39:43 +00:00
Assam Boudjelthia
038a928eb9 Coin:Android: Enable tests for default packaging target - Part 5
This makes sure Android tests are run by default for packaging
targets for various integrations including qt5 integrations and
potential issues are caught up early on especially when doing
sumobules updates and coin scripts updates.

Also, this makes it easier to manage instead of having the tests
enabled per module. Thus, this removes the Android test include
from the individual modules because it will be retrieved directly
from cmake_platforms_target_android_host_linux.yaml which is included
by cmake_platforms.yaml.

Task-number: QTBUG-88846
Change-Id: I8bc1638df48ad27781160df943c0126ffe495a3e
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 1d4f821520)
Reviewed-by: Simo Fält <simo.falt@qt.io>
2022-07-12 18:39:12 +00:00
Qt Submodule Update Bot
bad347de87 Update submodules on '6.3 in qt/qt5'
Change-Id: I9760f27b75d076b1853ce7a47d263b1fd496ee8f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-12 06:30:01 +00:00
Jukka Jokiniva
c8ad4c3f39 Revert "Change QNX temporarily insignificant"
This reverts commit 60cb5adc2e.

Reason for revert: QNX licenses fixed

Change-Id: I50bdff9b416c10d0a9181cded524c37681a8723e
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 9aa0ec5040)
2022-07-06 18:49:48 +00:00
Qt Submodule Update Bot
cd7d567a1d Update submodules on '6.3 in qt/qt5'
Change-Id: I1505581b81d56efbd06a154d417e18e834616b7a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-06 05:00:50 +00:00
Jukka Jokiniva
4bce751017 Change QNX temporarily insignificant
QNX licenses expired. Temporarily remove QNX from
blocking CI.

Change-Id: I96f9b2d4c07c1921736c929971ec1e716d7d6131
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit 60cb5adc2e)
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-07-04 09:38:51 +00:00
Eike Ziller
b1acf8203e COIN/Qt Creator: Run tests
Change-Id: I73247d88fcd5539c2d3748af7619c2223c237d9c
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
(cherry picked from commit 58ebc95561)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-29 06:37:09 +00:00
Qt Submodule Update Bot
bbda25adb8 Update submodules on '6.3 in qt/qt5'
Change-Id: I8abf0ae9f9ba606d3582f2fd02668569ad388fee
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-22 07:13:01 +00:00
Qt Submodule Update Bot
b8f1464679 Update submodules on '6.3 in qt/qt5'
Change-Id: I460d776f7d69d2de09372459ad390dd1bb67c1a6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-18 23:17:49 +00:00
Toni Saario
80f60b898a Precheck: Run only configs used in cmake_platforms.yaml
Most of the modules do not have all configurations from different
yamls. Using configs from yamls only used in some modules will
lead to precheck using configs which are not used on normal
integrations.

Change-Id: I7712db05eee485692d0363326194f02e21a40b9a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit e9b5cfc634)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-16 15:21:32 +00:00
Joerg Bornemann
0e15878f08 CMake: Take custom libdir into account
When configuring with -libdir set to something that is not recognized
by CMake's find_package search procedure, top-level builds failed to
configure.  This was due to a hard-coded lib/cmake directory added to
CMAKE_PREFIX_PATH.

Fixes: QTBUG-103823
Change-Id: If8b48e35e654089f32cbe4af9936238cd82b3dbb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 96be84d703)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-16 10:59:03 +00:00
Alexandru Croitor
a856a1f90b coin: Fix android automotive configuration to use configure
The UseConfigure feature was enabled, but the configure arguments were
not ported.

Amends 5e9653ef97

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I89607aef275370dc27910a5cd1fec7603a1fd576
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 6e95fb2f93)
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-14 10:48:00 +02:00
Alexandru Croitor
7eb0b3926f coin: Use configure for QEMU Boot2Qt configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I9aacf3e6f15fc074b52e85da9e3f671b4f58a135
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 64cf9a03b7)
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-14 10:47:57 +02:00
Alexandru Croitor
ed593ab53d coin: Fix iOS tests configuration to pass -debug-and-release
Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I578e1238ea187ade908d8174c0c6e5f7a9a9f66f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 6b2298dacf)
2022-06-14 10:47:54 +02:00
Alexandru Croitor
39d94c90ee coin: Use configure for static tests configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I2d35724074f4180775ca28c4befea1b9de838ecf
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 2566bbfe71)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-14 10:47:52 +02:00
Alexandru Croitor
34fb91a29b coin: Use configure for Integrity configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I128f5e424481ba8fbb4649c75be818abee57e03e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 6ec880ea47)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-14 10:47:49 +02:00
Alexandru Croitor
6e7b4549a9 coin: Use configure for QNX configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: Ibb84a88f7f1ebd1f98e9998fac4180b257e80461
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 7c9601115d)
2022-06-14 10:47:47 +02:00
Alexandru Croitor
47a7d9b16d coin: Use configure for WASM configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I534b630946f1fd9f79e8466886ea727697cabbc4
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 615091a6a8)
2022-06-14 10:47:44 +02:00
Alexandru Croitor
8255351cfb coin: Use configure for Android automotive configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I6fa9d75fab32f7355847a09996876f7e6c0a8b1c
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 5e9653ef97)
2022-06-14 10:47:42 +02:00
Alexandru Croitor
908143ed2b coin: Use configure for Android configurations
Use the configure script to configure Qt in the CI, instead of calling
CMake directly.

Task-number: QTQAINFRA-4357
Task-number: QTQAINFRA-4815
Change-Id: I008dd8dfca800e94ea3448bfd2c7ebae3266983e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit d65844f4a2)
2022-06-14 10:47:38 +02:00