Commit Graph

317 Commits

Author SHA1 Message Date
Toni Saario
8f40282cb7 Update VxWorks builds and images to 25.03
VxWorks version update to 25.03 from 24.03.
Removed xf86drm patch.

Change-Id: Idd5930fae79c68bc6c14cba5245404de9e851ef8
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
(cherry picked from commit 4c3fe22380)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-06-25 19:48:12 +00:00
Toni Saario
8fb747f92e Coin: VxWorks x86_64 add -enable-kvm parameter
This makes the qemu virtualize the target rather than emulating
it. Virtualization allows few times better performance in tests.

Pick-to: 6.9
Change-Id: I7a5f7e3e2b04c52034325459ef05bfc0dce5d0b7
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit ecff7e6ddc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-06-25 19:48:06 +00:00
Elias Toivola
ac22ffaf57 Android: set nightly targets for older NDK versions
This change makes provisioning also install older NDKs for Android,
which will be used in nightly targets.

Task-number: QTQAINFRA-7069
Change-Id: Ia8695383e94df282822da9019c33f1004a879bf6
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit 687b73cde0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-06-24 10:36:45 +00:00
Alexey Edelev
c259d85b8e Relax jq dependency from provisioning
We may read the installed package information from the 'vcpkg list'
command instead of parsing the vcpkg.json. Also instead of using
the jq as a parser, use the cmake script. This allows skipping the
jq installation.

Change-Id: Id3ace62f8f40ff1bd059878da3fd13e466861830
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2025-05-15 06:19:40 +02:00
Rami Potinkara
8f51576951 Coin: Add Android 16 to CI as insignificant
This patch introduces Android 16 as insignificant to CI.

Task-number: QTBUG-132638
Pick-to: 6.9 6.8
Change-Id: I29577503c50440d6b4821b1b7d6a5135935bf365
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-05-14 22:18:02 +03:00
Assam Boudjelthia
1c20066c69 Android: update the sha for Gradle script for provisioning
Use the sha from last update of Gradle and update AGP version
to match qtbase's 0e4f9ffa55c2b77fbe79e96362bc68a968982b48 commit.

Task-number: QTBUG-132852
Pick-to: 6.9
Change-Id: Iab851b08bc11290ee51a22f3bdd64369928dff22
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2025-03-27 17:31:59 +00:00
Rami Potinkara
ed0dc6ad5a Provisioning: update Gradle cache to Android SDK 35
This task updated the build.gradle of Gradle cache
to use SDK 35 for compile and target.

Task-number: QTBUG-130285
Task-number: QTBUG-129461
Pick-to: 6.9 6.8 6.5
Change-Id: I076211baf896e65aae3b616a3d6286258c3d0640
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-03-27 17:31:53 +00:00
Toni Saario
a660f59335 Add VxWorks imx8 build target
Running tests in QEMU for imx8 currently is not reasonably possible,
mostly due to lack of support from QEMU to emulate imx8 board.

Set qtmultimedia and it's dependees qtcharts and VKB as insignificant.

Change-Id: Iffc9c2e7df4bc06fd5b3c77124c650dda5696236
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-03-13 12:09:16 +02:00
Rami Potinkara
a242bb2e3e Provisioning: Update Android NDK to LTS version r27c
This patch updates Android NDK from LTS r26b to LTS r27c.
The version is 27.2.12479018

Task-number: QTQAINFRA-6479
Task-number: QTQAINFRA-6655
Pick-to: 6.9.0 6.9 6.8.3 6.8 6.5
Change-Id: Ic791cfd5d5dd2a439f96590b6f6f8ca0ac4fb5ae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2025-03-13 10:09:08 +00:00
Axel Spoerl
abbffb449e Add Linux provisioning script for network test
Implement installation script in common/linux and call it from all
distros except arm (for which currently no binary exists).

Run executable after installation.
Warn only, to enable integration.

Task-number: QTQAINFRA-6796
Change-Id: Id0ebed7ae7d43733acb53d908750174634a4e676
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2025-03-13 11:09:05 +01:00
Tero Heikkinen
98e55af0f2 Synchronize GNOME based Linux gsettings into a common script
Pick-to: 6.9 6.8
Task-number: QTQAINFRA-6967
Change-Id: Ib2f17a49931dc546af82f1e0384814f9f359a3f3
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2025-02-27 14:34:43 +02:00
Rami Potinkara
9e5bb886b0 Provisioning: bump Android sdkBuildToolsVersion to 35
This patch bumps the sdkBuildToolsVersion used in Coin to 35.

Task-number: QTBUG-129461
Task-number: QTBUG-130283
Pick-to: 6.9 6.8 6.5
Change-Id: I2e1fbdfd23cb854ec50625ff29331adc61abc32c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-02-25 21:36:35 +02:00
Konsta Alajärvi
b0d999c087 Provisioning: bump Android sdkApiLevel to 35
This patch bumps the sdkApiLevel used in Coin to 35.

Task-number: QTBUG-129461
Task-number: QTBUG-130283
Pick-to: 6.9 6.8 6.5
Change-Id: Ia26248982a2807b2d3554d1a7a7394efcf13f834
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-02-25 21:36:17 +02:00
Marianne Yrjänä
4791054b10 Provisioning: Separate QNX710 and QNX800 qemu configs
QNX qemu configs separated. QNX710 and QNX800 require different set of
dependency libraries and there's an extra image creation bug on QNX800
that needs workaround too.
QNX800 toolchain updated.

Task-number: QTBUG-131708
Pick-to: 6.9 6.8
Change-Id: I3bc5c8bb63abbb729d03fcf3afb2f7881bcdd270
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-02-05 15:46:03 +02:00
Toni Saario
14ca3bbb75 Revert arm side of VxWorks VSB/VIP update
This caused tst_qplaintextedit to start flaking a lot.

Partially reverts b25251e2ba.

Task-number: QTBUG-133243
Change-Id: I348faa09831720a43aeb1f8097c42185e32c31dd
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2025-01-27 15:48:52 +02:00
Toni Saario
fbed6e5f0c Coin: Use 16GB of memory for VxWorks x86_64 qemu
A test requires this much memory.

Change-Id: I85063fbe911317035a6de3e85354ffb243d0cd7f
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
2025-01-23 19:50:23 +02:00
Toni Saario
b25251e2ba Update intel VxWorks VSB and VIP
Increases stack size for intel.

Pick-to: 6.9
Change-Id: Ic40b87582940d03abf4430e2664e55e0a7d322be
Reviewed-by: Simo Fält <simo.falt@qt.io>
2025-01-23 17:50:21 +00:00
Artem Dyomin
39ad0317d1 Decouple install-ffmpeg on linux and macos specific files
The FFmpeg building flow has become too different on linux and macos.
Decoupling the logic makes it more simple to follow.

The CR also fixes nits and shellcheck warnings in install-ffmpeg.

Pick-to: 6.8 6.9
Change-Id: I28639d28c7210809e52ff18ce612da52f8754285
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2025-01-17 07:15:13 +01:00
Rami Potinkara
2c85a91e07 Android: Android 15 as maximum supported version
This patch
- Replaces Android 14 with Android 15 as a maximum version
- Introduces Android 15 system image to CI cache
- Sets Android 15 as significant

Task-number: QTQAINFRA-6478
Fixes: QTQAINFRA-6652
Pick-to: 6.9 6.8 6.5
Change-Id: Icb6de43f3e2c2f7f98f3172c83d66bebf9603d24
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2025-01-11 10:31:58 +02:00
Alexandru Croitor
ffef920337 CMake: Raise CI-tested minimum CMake version to 3.22.6
Also change the upper case L to lower case l, because it's changed
upstream.

Amends 0cfa1fa561

Pick-to: 6.9
Task-number: QTBUG-131169
Change-Id: I5e501e37bb5516e15a2cbb68cb523ebc5e88d47c
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2024-12-12 16:36:48 +00:00
Elias Toivola
9078baf0a9 Android: update emulator version to 35.2.10
The newest stable version of Android emulator should bring more
stability.

Pick-to: 6.9 6.8 6.5
Fixes: QTQAINFRA-6805
Change-Id: Id67d3ec888b486e6aae862588928528788583aae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-12-11 06:10:08 +00:00
Alexey Edelev
12b6c48c85 Update Integrity toolchain file
Update Integrity toolchain file to meet the updated PlatformGraphics
module requirements.

Change-Id: I6ef5dd0d2440d32e537e30a301cf4b3c88b44130
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
2024-12-10 16:30:51 +02:00
Christian Ehrlicher
2333f79e3a Coin: Fix env var for Oracle libraries and headers
While on windows the instantclient sdk also provides the relevant
(import) libs, on linux those libraries are only provided by
instantclient-basiclite package. Therfore setting the Oracle_ROOT env
var to the sdk dir will prevent the libraries to be found on linux.
The FindOracle.cmake module is already adjusted to look for the
libraries in ${Oracle_ROOT}, ${Oracle_ROOT}/lib and
${Oracle_ROOT}/sdk/lib so they should be found correctly even we don't
append 'sdk' for Oracle_ROOT on windows for consistency.

Task-number: QTBUG-128873
Change-Id: Icd211d5b503234de529c339581a4f42f0b5fc726
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-12-10 16:30:43 +02:00
Alexey Edelev
93a9e3ce7a Move vcpkg tool SHA1 sums to vcpkg_tool_release_tag.txt
It's easier to manage the vcpkg tool versions using this file,
but not editing script each time.

Change-Id: If6d04a8ac07731ec1fab46b1f663b86bbe640631
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-12-10 15:30:37 +01:00
Alexey Edelev
80eae8fe74 Bump vcpkg version
The old version doesn't support MSVC 17.10 toolchain, so we cannot
build for arm64.

Change-Id: I63df5b61d6d7e06ee49f46f77528021f3ce5be47
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-12-10 15:30:34 +01:00
Toni Saario
9f1cba8637 Coin: Limit avahi-daemon interfaces
Avahi-daemon often hogs 100% of CPU on the VMs. This particularly
causes issue on 2 core(thread) VMs where tests compete for CPU
with avahi.

Limiting avahi to test service related interfaces eliminates the
abnormal CPU usage.

Avahi should be only needed for tests to see the docker test services.

Pick-to: 6.8 6.5 5.15
Task-number: QTQAINFRA-6697
Change-Id: I30d75f2118501cd69d98aeea8c62722a0fb238c5
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2024-11-23 08:40:44 +02:00
Toni Saario
60df9e2cf7 Coin: Add dev null components to VxWorks vip
Updated VIPs include following components:
INCLUDE_DEV_ARANDOM
INCLUDE_DEV_CONSOLE
INCLUDE_DEV_FULL
INCLUDE_DEV_RANDOM
INCLUDE_DEV_TTY
INCLUDE_DEV_URANDOM
INCLUDE_DEV_ZERO
INCLUDE_DEV_NULL

Task-number: QTBUG-130073
Change-Id: I7df164aa0228ab6c0760c40ab6b93f29f699025a
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-23 08:40:40 +02:00
Ville-Pekka Karhu
112af8cb6c Provisioning: Add registry mirror for Docker images
Task-number: QTQAINFRA-3427
Change-Id: I131b89d551a5fac4d35b8af5b37ccc573e6ad3b9
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-11-23 06:40:37 +00:00
Matti Paaso
0ac0b15489 Provisioning: Add sourceserver_remote_url into Axivion config
When running Axivion analysis on virtual machine, analysis will
update sourceserver_gitdir and source_server_remote_url into
result database. If these are missing from configuration,
analysis will use work area values for these and those does
not work on dashboard.

Task-number: QTQAINFRA-6262
Change-Id: I00df7eade6de1a12a6bb59cbd24374dd0cedd715
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-23 08:40:35 +02:00
Alexandru Croitor
400776459b CMake: Update provisioned CMake to version 3.30.5
Pick-to: 6.8
Fixes: QTQAINFRA-6484
Change-Id: Iacccb9f43059c78080e338da6680f5c50284c057
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-27 10:13:54 +02:00
Alexandru Croitor
da3c68ba0c coin: Provision ninja 1.12.1 for RHEL 8.10 and 9.2
It is needed to successfully build Qt with CMake 3.30.

Pick-to: 6.8
Fixes: QTQAINFRA-6484
Change-Id: I70b7d91571f5b20a008947eb0837dd8351965665
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-10-19 21:17:40 +02:00
Tim Blechmann
8ba7d0c382 Provisioning: linux - install virtual video test driver vivid
The vivid kernel module emulates a v4l2 video devices like webcams. We
instantiate two devices via vivid to allow qt multimedia unit tests
requiring multiple cameras to run correctly.

Pick-to: 6.5 6.7 6.8
Change-Id: I1b87954e3c8af797f5b09dabf2d4939d8320db06
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-10-14 21:31:43 +08:00
Toni Saario
25b69fec2c Coin: Update VxWorks intel VSB
Adds patch for xf86drm.

Change-Id: I9f3b17626ddf0047477995d4d3b6387a16ded8c8
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-13 11:37:26 +03:00
Christian Ehrlicher
1c2f0cf6d1 Coin: adjust local repo paths
Adjust the local repo paths for firebird libraries.

Change-Id: Ifb10ab8f4606eefd53f4cd63cf08264d82922cba
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2024-10-05 11:18:58 +02:00
Christian Ehrlicher
2beda8e695 Coin: Enable Oracle Instant Client provisioning
Enable OCI provisioning for
 - Windows 10 22H2
 - Windows 11 23H2
 - Ubuntu 22.04 x86_64
 - RHEL 9.2 x86_64
 - SLES 15 SP5 x86_64
 - openSUSE 15.5 x86_64

Task-number: QTBUG-128873
Change-Id: I8d0886f9059cd5941ac9f9174f899b1e125168e3
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-10-05 11:18:56 +02:00
Assam Boudjelthia
e1015f2718 Android: replace Android 9 revision 9 to revision 8 as it's more stable
The current revision 9 seems to have issues that are not reproducible
on other environments and even not with other ABIs like x64 or arm64.

Pick-to: 6.8
Task-number: QTBUG-97650
Change-Id: I6f4827f170ea11b8aae9cc774c075fa043e4df5a
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-04 16:15:03 +00:00
Assam Boudjelthia
536555cde6 Android: upadate the sha for Gradle script for provisioning
Use the sha from last update of Gradle and update AGP version
to match qtbase.

Pick-to: 6.8
Change-Id: Ia235dacfc3206246c4c4330fb185ce1319d45909
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-04 19:15:00 +03:00
Simo Fält
8242bd3ba2 Coin: Fix squish coco license server url
Change-Id: I5274b26f48815ce600bcb443a4b6fc4cfc5ac226
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-10-04 09:27:54 +03:00
Toni Saario
4ff452e137 Coin: Fix squish coco PATH variable
It has to escaped so the PATH is not expanded when appending
to .bashrc. This causes issues in sourcing some 3rd party envs
where PATH is overwritten by bashrc as last and the tools are missing.

Pick-to: 6.8 6.5 6.2 5.15
Change-Id: Idc540d608201a8f8e4c231a7e82b1b2bc42fe70f
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-04 09:27:52 +03:00
Konsta Alajärvi
b5b95a2fa1 Coin: Android: Add Android 15 in CI
Add Android 15 to CI with InsignificantTests flag.

Task-number: QTBUG-127802
Pick-to: 6.8 6.5
Change-Id: I16e787e1633edd15efd2191f7e23ac275d4f90f7
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-10-03 10:39:16 +00:00
Mate Barany
32a3103706 Upload the Axivion config files to gerrit
To review and comment on the rules.

Task-number: QTQAINFRA-6577
Change-Id: I3c4f85e307533346d393ed32adccb75c106d882e
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-01 11:51:49 +03:00
Toni Saario
2891afd32e Add VxWorks x86_64 target
Adds VxWorks with intel skylake VSB.

Change-Id: I2e6b1c1f7a45657d81c29fc3a5c8fe8526d4ad29
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-09-29 20:06:47 +00:00
Jani Korteniemi
14c7c3061b Fix Android emulator timeout and restart on COIN
Changed device's start timeout to 3 minutes,
and restarting retries to 3.

Changed emulator boot check loop to check against
real time value instead int value.
Some of the tests caused previous
for-loop to take more than 1 second.

Task-number: COIN-1154
Change-Id: I58066ad8f440b2fdee3c5b64d094b2713007bf19
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-09-24 07:35:26 +03:00
Alexey Edelev
d8f475aeaa Add VxWorks vivante graphics toolchain file
Change-Id: I74a5d2bce37e895ce16f911d56bf24f77a73dab5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Karim Pinter <karim.pinter@qt.io>
2024-09-21 10:08:42 +02:00
Elias Toivola
f6313247cc Fix and define cache links for golang and upx
Windows script to install golang tries to download a .exe file from
cache while the install file is really a .msi file.

Golang and upx are new packages to ci-files so let's define their
directory paths as neatly as possible to prevent more clutter to
ci-files.

This amends: 337206334e

Pick-to: 6.8 6.7
Change-Id: If6cfa38304bfec207500fcd7a67e3acba994eb9f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
2024-09-18 15:49:55 +03:00
Marcus Tillmanns
337206334e Coin: Add golang & upx to Linux/macOS/Windows
Qt Creator will soon start to rely on go for tools and upx for binary compression.

Right now we can't install upx on macOS which we can live with.
Leaving the script in for later re-enabling once brew has been fixed.

Pick-to: 6.7 6.8
Change-Id: I4fdc67e469153e8a0530efd58ff251629dcabdfa
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2024-09-12 19:56:28 +00:00
Christian Ehrlicher
333cbd0592 Coin: Enable firebird provisioning
Enable Firebird provisioning for
 - Windows 10 22H2
 - Windows 11 23H2
 - Ubuntu 22.04 x86_64
 - RHEL 9.2 x86_64
 - SLES 15 SP5 x86_64
 - openSUSE 15.5 x86_64

Change-Id: I075d4c468ed7c103b9e1090aea3ff36014b4e8fc
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-09-12 10:11:43 +02:00
Liang Qi
cad194524e sccache: Add arm linux support
Pick-to: 6.8
Change-Id: I630cdc7bbff320c6ca8e17b33f0e9fc05f6a63af
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
2024-09-11 11:46:26 +02:00
Toni Saario
d2d5638f12 Run VxWorks tests upstream of QtDeclarative
Set test running to happen on non-developer static target
for modules upstream of QtDeclarative. Qtdeclarative tests
do not build with static flag, due to this only up to this.

Update VSB and VIP.

Change-Id: If7e016f11b5d3908dff584fc05bcc8985d471a94
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-08-26 22:26:03 +03:00
Tim Blechmann
0020fd1b3e Provisioning: install dummy sound device on ubuntu VMs
Pick-to: 6.5 6.7 6.8
Change-Id: I71a518576c1ef0677855561edbd2dc5560727c35
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-08-16 17:52:48 +08:00