Commit Graph

6015 Commits

Author SHA1 Message Date
Alexandru Croitor
d36c17487c coin: Use new doc tools building instructions for TestDocs configs
The documentation warning configurations marked with the TestDocs
feature will now use the new doc tools building instructions from
qtbase, instead of using the provisioned qdoc tools when checking the
documentation for warnings.

This means that each qtbase integration will build the doc tools
from qttools/dev/HEAD and use those built tools associated with that
qtbase sha1 integration to check documentation in all other
repositories.

The doc tools will be rebuilt whenever a new qtbase integration
starts.
See the qtbase commit 1f646bb978ed94c25f6224e801779c929096c0ae for
more details.

Task-number: QTBUG-128730
Change-Id: I5a981afa9ec2c2b3a5c519b961e566ec5d2cc925
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2024-11-14 08:09:38 +01:00
Elias Toivola
0f96857410 OpenSUSE 15.5: set working mirrors for zypper
OpenSUSE 15.5 provision can fail to a failed zypper install with
qemu-guest-agent due to a broken/expired mirror. This may be
eventually fixed by the package manager. This changes adds a working
source for zypper and the package.

Sometimes installing any package with zypper can output:
"Repository 'Update repository of openSUSE Backports' is invalid.".
This may mean a current mirror/repo for it is not functioning at that time. Specifying a functioning mirror fixes this.

Change-Id: I7b8ea8f1db291a1001a7d062a3da91ded99301f2
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-14 06:19:57 +00:00
Matti Paaso
dbb4ca8e26 Add Java 17 into OpenSuSE 15
RTA Jenkins needs this

Task-number: QTQAINFRA-6263
Pick-to: 6.5 6.8
Change-Id: Ied9465f1c5542f77e327e3e515ed2b831e606569
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
2024-11-14 08:19:56 +02:00
Morten Sørvig
72e2341971 wasm: enable exceptions for autotests build
Qt auto tests now require exceptions due to usage of
QTEST_THROW_ON_FAIL and QTEST_THROW_ON_SKIP.

Task-number: QTBUG-121822
Change-Id: I755752c6324368c5cd2509216ec6bb0a3090896c
Reviewed-by: Lorn Potter <lorn.potter@qt.io>
2024-11-14 08:19:54 +02:00
Toni Saario
afefff76b2 Coin: fix VxWorks target arch on intel
Wrong emulator is started because of this and none of tests run.

Change-Id: I47fee8d69feadccfdd8b5c27e7ff63df550352fa
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-12 19:42:50 +00:00
Simo Fält
b7f2066d1b COIN: Split qsr and qsr-runtime nightly configs to separate yaml
Both modules are using their own features to enable coco
instructions.

Task-number: QSR-2578
Change-Id: I64ba6a372f19a8f980e2e620786f10c8345f3e5b
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-12 19:42:47 +00:00
Toni Saario
0acf22f669 Coin: VxWorks disable harfbuzz on intel HW
Change-Id: I676e0e50eed83bd67d62d515c2dd279e61727ab5
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Karim Pinter <karim.pinter@qt.io>
Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
2024-11-12 21:42:45 +02:00
Tor Arne Vestbø
8c74d54deb coin: Build macOS ARM developer-build in debug mode
To get as close as possible to how developers build and run
tests, and to get debug-build test coverage on macOS in CI.

Pick-to: 6.8
Change-Id: Ice12b7230d56284d352e6a73ac503588b22107bb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2024-11-12 19:42:43 +00:00
Toni Saario
cf237ca8dc Add pin cores feature for all targets running tests
The feature enables 1:1 pinning of CPU cores for VM, which should mean
more stable CPU allocation from host and fewer sporadic failure.

The down side of this is that the targets will effectively use double
the capacity from the host that they previously would. It is to be seen
how effective this is in reducing flakiness, which would counter the
increased usage by reducing staging needed.

In Coin the feature is limited so that it only affects test VMs.

Task-number: QTQAINFRA-6702
Change-Id: Ie0abd68e0ce80008776f3d0fe931d996f6eb3a61
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
2024-11-12 16:26:44 +02:00
Simo Fält
8d18ed533c CI: Update debian rules branch for 6.9
Change-Id: If8262ad42b4a7231b25f95ab3b0f61e0fbe4fb71
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-11-10 21:00:09 +02:00
Tero Heikkinen
64b8508dd4 Provisioning: Add unity build targets into CI Nightly runs
Adding these Windows, Linux and MacOS targets:
  - windows-11_23H2-msvc2022-unity-build
  - rhel-8.10-unity-build
  - ubuntu-24.04-arm64-unity-build
  - ubuntu-24.04-x64-unity-build
  - macos-universal-on-arm64-unity-build

Only builds with make examples, no tests.

Task-number: QTQAINFRA-6391
Change-Id: I4e009e35ef5d30495efd949b8c997ab3ced50dae
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
2024-11-10 21:00:06 +02:00
Alexey Edelev
b5fa5d0c2b Build arm64 triplet only where we need it
The triplet it not used on every x86_64 windows VM. Build it only
on windows 11_23_H2-x86_64 where we crosscompile Qt.

Change-Id: I5bfd852ac0cdde8d8f1f7b4b46d208f6dc221162
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-11-10 20:00:03 +01:00
Alexey Edelev
bdbd24a4a3 Allow setting the windows arch for the vcpkg installation script
Make the Windows vcpkg provisioning script configurable, so scripts
that use it may select the architecture using the 'arch' argument.

Change-Id: Id6180866ed03a9a15ec9b907c9be5545a04ea879
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-11-10 20:00:00 +01:00
Toni Saario
bc8d4ba495 Coin: Make VxWorks significant for qtsvg
Change-Id: Icf57010c220ad3c4cfeacc0da0c18c788e534e64
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-10 20:59:57 +02:00
Qt Submodule Update Bot
e274a533d5 Update submodules on 'dev in qt/qt5'
Change-Id: I96581af030c11d7157f955e889309227667a2951
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-10 09:10:57 +00:00
Matti Paaso
7a2a226e8a Change Java version to 17 on Linux arm
Jenkins needs Java 17 to run agent on VM

Task-number: QTQAINFRA-6263
Pick-to: 6.8
Change-Id: Ia2749a4812402df8b11f6388f8e6bc3b995d5e53
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-09 16:46:32 +02:00
Matti Paaso
5128df0130 Update Java version into 17
Jenkins needs version 17 to get agent running in VM

Task-number: QTQAINFRA-6263
Pick-to: 6.2 6.5 6.8
Change-Id: I57daadad6baa2e7e538874769af3fbe0cdd42878
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-11-09 16:46:30 +02:00
Tim Blechmann
01f6c96002 provisioning: install development files for gstreamer-plugins-bad
Required for gst-play

Pick-to: 6.8
Change-Id: Id41d4359aa8e573e360c565eea6900b33918743f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-11-09 09:31:40 +08:00
Tim Blechmann
58e0090020 provisioning: install gstreamer h264 codec on openSUSE and rhel9
The h264 codec is required to run the gstreamer-based unit tests on CI.

Pick-to: 6.8
Change-Id: Ic47ee086687230613d56f30d3fd613288e37ce7f
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-11-07 10:33:37 +08:00
Qt Submodule Update Bot
8329de2f56 Update submodules on 'dev in qt/qt5'
Change-Id: I9daf36556afa3202c9b15745ab8d38ab924b488c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-11-07 00:21:28 +00:00
Eike Ziller
f531da9cbb QtCreator: Add configurations for oldest supported Qt version
Pick-to: 6.8
Change-Id: I2a69d05a157524238ed9ac7e32b84c56e2750a9d
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-06 08:49:08 +01:00
Elias Toivola
ee8ee93d91 Add Red Hat 9.4 with non-blocking tests in CI
RHEL-9.4 will be run in parallel with RHEL-9.2 with insignificant tests
until RHEL-9.4 is confirmed stable, then it will replace RHEL-9.2.
[CI Platforms]

Pick-to: 6.8
Task-number: QTQAINFRA-6362
Change-Id: I92c10a15346e7bd0c0190a8d6a6513cf6143d2a8
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
2024-11-06 08:11:26 +02:00
Jukka Jokiniva
fa9a258429 Revert "Temporarily remove Integrity from CI"
This reverts commit e306818660.

Reason for revert: GHS compiler licenses renewed.

Change-Id: I60fa9412ffcc1a247d30afad93f6e843ad2918f2
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
2024-11-05 14:45:26 +00:00
Jukka Jokiniva
e306818660 Temporarily remove Integrity from CI
GHS compiler license has expired.

Change-Id: I5f495d24b5693c1841cb292d791188e1f3896d93
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-05 08:13:05 +00:00
Eike Ziller
c4d897e380 QtCreator: Remove unused 'Packaging' feature
We don't use any configurations for packaging, the feature doesn't
trigger anything.

Pick-to: 6.8
Change-Id: I977566123b491284e029cf1d828c0ce0a36703f2
Reviewed-by: David Schulz <david.schulz@qt.io>
2024-11-04 14:46:50 +01:00
Simo Fält
9260c9bf97 COIN: Add nightly configuration for qtsaferenderer coverage build
Task-number: QSR-2578
Change-Id: I2cdde779c895668e3f64e3b0eb71160b73ef1a61
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-11-03 10:42:14 +00:00
Elias Toivola
b99f11d3c2 Fix/unmix Ninja download priority
The download helper for .ps1 scripts takes in parameters in order:
1. The external URL (this is 2nd priority DL source)
2. The internal / cache URL (this is 1st priority source)
3. Download location
The URL variables were inputted to the function in wrong order. And URL
variables for x64 were named incorrectly. This change fixes that.

Pick-to: 6.8
Task-number: QTQAINFRA-6296
Change-Id: Ic4f939448a4ac39e4fd7d52e5b80132b02c38dc2
Reviewed-by: Elias Toivola <elias.toivola@qt.io>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2024-11-03 12:42:12 +02:00
Even Oscar Andersen
153ac6480b Add qtwebsockets as dependency for qtmqtt
I add qtwebsockets as dependency because that allows us to use
it for webassembly (in a later change).

Task-number: QTBUG-129171
Change-Id: I8fa1604488e5351b7a5628361137be0e35051c47
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-11-03 11:42:09 +01:00
Matti Paaso
cf921a5146 Provisioning: Update Axivion bauhaus suite to 7.8.4
Task-number: QTQAINFRA-6720
Pick-to: 6.5
Change-Id: Idb303652355b8937ea199a3415101d49f27a2e98
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
2024-11-02 12:51:51 +02:00
Tim Blechmann
cc17f25cd1 ubuntu: install pulseaudio 16 with time smoother bugfixes
The GStreamer backend of Qt Multimedia has known issues with pulseaudio,
caused by bugs in the time smoother. We therefore install pulseaudio 16
from a PPA on our ubuntu testers.

Task-number: QTBUG-112014
Task-number: QTBUG-124372
Task-number: QTBUG-126799
Pick-to: 6.5 6.8
Change-Id: Ifd18ff4b9904ac0ee022c9158e96ebca8768599f
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2024-11-02 09:57:01 +08:00
Alexandru Croitor
b6b6fac86a coin: Bump ios-universal config macos version to get iOS SDK 17
Pick-to: 6.8
Task-number: QTBUG-119490
Change-Id: Icaf2ed63daecbc25dc18dd4a7b7733029a02be19
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-11-01 07:30:53 +01:00
Jani Heikkinen
0149acd42b Add 'QT_FEATURE_open62541_security=OFF' for macOS packaging build
Fixes: QTBUG-125252
Pick-to: 6.8 6.5
Change-Id: Ic6daa4c589dda54294a787261be6884cdbf3dff0
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-11-01 08:30:51 +02:00
Alexandru Croitor
710bc2d90e CMake: Improve qt5.git "QtSynchronizeRepo.cmake" / sync-to script
The QtSynchronizeRepo.cmake script, which is meant to be driven by a
git-sync-to script, has been rewritten to support more use cases, as
well as improve the code readability and error reporting.

The script now supports the following additional use cases:
 - Clone a specified qt/{repo} submodule from code.qt.io into the
   current directory, and initialize (clone) its dependencies

- Initialize a submodule and its dependencies in an existing qt5.git
  super repo. This is similar to what init-repository does, except
  instead of using the qt5.git sha1s, it uses the dependencies.yaml
  of the specified submodule

- Support for git fetch --depth, to allow shallow cloning of the
  specified submodule and its dependencies. This is useful for CI
  where only a specific revision needs to be checked out.

The main incentive for this change is allow cloning qttools/dev/HEAD
and its dependencies in a CI run, but it's useful for daily work as
well. At some point we should check what can be merged together with
the existing init-repository script.

Pick-to: 6.8
Task-number: QTBUG-128730
Change-Id: Ie6d49d253223cc93b8831ef41d25e0adeac39b8b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-11-01 07:30:42 +01:00
Nils Petter Skålerud
03ffb92263 coin, macOS: Add arm64 support to fix-ffmpeg-dependencies.sh
This file is used by the script common/unix/install-ffmpeg-android.sh.
This script is useful for compiling FFmpeg for Android locally
on macOS. Currently the script assumes the Homebrew installation
of readelf is that of x86. The Homebrews path for readelf is different
under arm64 and this change accounts for this.

Pick-to: 6.8 6.5
Change-Id: I7ec1d4173e35fe91bc988492e56dd9a5fcbad072
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
2024-11-01 07:30:40 +01:00
Artem Dyomin
6cd74e132a Replace static FFmpeg build with shared on rhel8
On RHEL8, openssl1.x.x is default, and openssl3 pc files
are with the suffix "3", so FFmpeg cannot find them.

The patch fixes pc files so that ffmpeg can find them.

Task-number: QTBUG-130257
Change-Id: I5a95daae0a78aadede109535b2823483bfcbc09d
Pick-to: 6.8
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
Reviewed-by: Pavel Dubsky <pavel.dubsky@qt.io>
Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
2024-11-01 06:22:28 +00:00
Ville-Pekka Karhu
2f3d052720 Provisioning: Add Docker installation to macOS 13 x64
Task-number: QTQAINFRA-6714
Pick-to: 6.8 6.5
Change-Id: I5044ca4fc8f965e31720e7a94820153213afc14d
Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-30 20:27:33 +02:00
Simo Fält
e7ef5d8f1b Provisioning: Fix once more the SBOM_PYTHON_APPS_PATH in macOS
Pick-to: 6.8
Change-Id: I733a6b2ea25e4d76c19ef921b7706cd0464c3120
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2024-10-30 06:17:35 +00:00
Jøger Hansegård
2728b7ac6f Add provisioning of FFmpeg for Android and iOS with qtci-macos
This patch adds FFmpeg provisioning for Android and iOS for
qtci-macos-12..15-arm..x86-64 by syncing with qtci-macos-13-x86_64
where this was already done.

Pick-to: 6.8
Change-Id: I070514cbff12504db7c6fa77111e12d7e500ce30
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-30 08:17:28 +02:00
Simo Fält
ec0228377d CI: Move ios-universal config to Arm host
Task-number: QTQAINFRA-6378
Change-Id: I7f8147f4c2c8c138d55558cd5a7d8d976d2e2b82
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-30 06:17:21 +00:00
Jukka Jokiniva
c5ab2fe4fa Add -force-asserts to developer builds with -release
Fixes: QTQAINFRA-6624
Pick-to: 6.8
Change-Id: Ia8741e4a92774fee3af78c3292fa47677b36158d
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
2024-10-27 11:14:36 +03:00
Jari Helaakoski
e0443312fe Add unit test job for QtLite configuration
Change build to x86 and add unit tests

Task-number: QTBUG-122999
Change-Id: I1698f623d40d87d6bb5cda0188accbd6c45b7dd4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-10-27 11:14:29 +03:00
Tor Arne Vestbø
b3758bde8d coin: Fix or silence shellcheck warnings in TCC permissions script
Change-Id: I4905e062532518b02ad4c4187057028484fc8e1d
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
2024-10-27 10:14:19 +02:00
Nils Petter Skålerud
8f47837a59 coin, macOS, FFmpeg: Fix incorrect popd in install-ffmpeg-android.sh
popd was placed incorrectly and caused the script to be unable to find
the fix_ffmpeg_dependencies.sh file.

Pick-to: 6.8
Change-Id: I7922a698e90d1b3899ecc7b2240a260ea706707f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-27 10:14:12 +02:00
Nils Petter Skålerud
758ac7896f coin, macOS, FFmpeg: Fix install-ffmpeg-android.sh
Script would previously unconditionally run ln even if target file
sometimes exists in precompiled OpenSSL library.

Pick-to: 6.8
Change-Id: I90c4ad7c6cbf9207c2c82114936b478a9ba4ae54
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-27 10:14:04 +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
Jukka Jokiniva
5bd133d752 Remove macOS 12 configuration from CI
Change-Id: Id11a67532cf8373ce0c5ead2d5b4502ffc46b4ab
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-10-25 17:13:33 +03:00
Jukka Jokiniva
33a60fa057 Update qtsaferenderer to use macOS 13
Change-Id: I579be9741446c3f01649107700fdaf758d60eb51
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
2024-10-25 14:13:32 +00:00
Alexandru Croitor
6f991b55a3 coin: Explicitly specify SBOM_PYTHON_APPS_PATH for all platforms
Instead of relying on the qtbase coin instructions to compute the
SBOM_PYTHON_APPS_PATH path based on the platform, which does not work
reliably, especially when multiple python installations are present,
explicitly specify the path in the provisioning scripts.

Amends 1f2fb6312c

Pick-to: 6.8
Task-number: QTBUG-122899
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I097fd1c4119a203d82f88c477dbf0fc0f67f19f2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-10-25 16:13:04 +02:00
Alexandru Croitor
e874a76a48 coin: Explicitly specify Python 3.10 for SBOM processing on Windows
The 'reuse' tool installed into the Python 3.8 environment on Windows
has a broken 'jinja2' package, due to conan being installed
after the sbom tool, which replaces the jinja package. pip reports the
issue but does not actually exit with a non-zero status for some
reason, thus not blocking the initial provisioning.

The jinja2 version installed in the Python 3.10 environment on Windows
is compatible with both conan and reuse.

To work around the issue, explicitly install the sbom tools only for
Python 3.10 on Windows platforms, and specify the path to the Python
interpreter in an environment variable for the build system to use.

Amends 1f2fb6312c

Pick-to: 6.8
Task-number: QTBUG-122899
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I386da17a1902dd26af332cef3482dbcb2221a1b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-10-25 16:13:03 +02:00
Qt Submodule Update Bot
0face33946 Update submodules on 'dev in qt/qt5'
Change-Id: Ic9a912f8a70e103ce787eb3f02763d8b13176bdd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-10-24 07:15:03 +00:00