Commit Graph
5818 Commits
Author SHA1 Message Date
Simo Fält fbf492ae2c COIN: Adjust configure args to enable vxWorks test building
Change-Id: I1bae21dd7e37e8abba9f66b6ee9c4a67c27b5e6f
Reviewed-by: Matti Paaso <[email protected]>
2024-07-11 17:45:06 +00:00
Simo Fält eeef1ab9d7 Enable test building for VxWorks with qtdeclarative
This enables blocking test building.

Change-Id: I9bb1bb810c22f942ecf9e74c04b917a5c7e91c3a
Reviewed-by: Matti Paaso <[email protected]>
2024-07-11 17:45:05 +00:00
Matti Paaso 2b1054a505 Add module only for tqtc-qtsdk
Filtering unnecessary targets from tqtc-qtsdk for precheck

Task-number: QTQAINFRA-4066
Change-Id: If65d5212a286e0e0eb305d62b0a1dffb54c68f73
Reviewed-by: Patrik Teivonen <[email protected]>
2024-07-11 14:45:26 +03:00
Alexandru Croitor 562b56c8d7 coin: Mark platforms that should verify the generated SBOM
Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: Ia4854f3af188e971b555cc1bd7bd6463fbbf7273
Reviewed-by: Joerg Bornemann <[email protected]>
2024-07-10 06:34:36 +02:00
Alexandru Croitor 3017e86d54 coin: Mark platforms that should generate an SBOM
Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I3722c048ec4be894a09d3b023d6af95d4dfedc6f
Reviewed-by: Joerg Bornemann <[email protected]>
2024-07-10 06:34:34 +02:00
Pavel Dubsky 49c03849e3 Use single installation archive for FFmpeg provisioning on all platforms
Fixes: QTBUG-125955
Pick-to: 6.8
Change-Id: Ibfa97e3d765eb3c4ff5613004bc881e49ddf10e9
Reviewed-by: Jøger Hansegård <[email protected]>
2024-07-09 18:43:13 +00:00
Toni Saario 5207b5eafa Save iptable rules
Change-Id: I5c1a72c901daec388987385d31718693080e85e8
Reviewed-by: Simo Fält <[email protected]>
2024-07-09 21:43:12 +03:00
Matti Paaso 4ee798b6ef Provisioning: Update Axivion tool and configuration
New tool version corrects crashes in Analysis. New configuration
fixes git config in Axivion dashboard server.

Task-number: QTQAINFRA-5965
Task-number: QTQAINFRA-6348
Task-number: QTQAINFRA-6260
Change-Id: Ice7c9efd398236e1f5186f756f23c321aba0cf79
Reviewed-by: Jukka Jokiniva <[email protected]>
2024-07-09 21:43:10 +03:00
Toni Saario af082deb40 Enable tests for VxWorks target
Updates VSB and VIP. Adds newer updated QEMU for VxWorks.
Set to build and run tests on qtbase.

Change-Id: I1dc97a48ff67dedd79de3659d2af2768616c61ca
Reviewed-by: Matti Paaso <[email protected]>
2024-07-09 21:43:08 +03:00
Ville-Pekka Karhu dd235745c6 coin: Add Apple Silicon VM pre-provisioning instructions
Change-Id: I5439374d7fb8fc364612b60256b87f13dd97893c
Reviewed-by: Simo Fält <[email protected]>
Reviewed-by: Tor Arne Vestbø <[email protected]>
2024-07-09 18:43:07 +00:00
Tor Arne Vestbø 3ad98d0b27 coin: Give coin agent permission to access Bluetooth
The Qt Connectivity tests rely on this.

Pick-to: 6.8
Change-Id: I7218485e583ebe2c8d381a0104012a86350e6eac
Reviewed-by: Timur Pocheptsov <[email protected]>
Reviewed-by: Volker Hilsheimer <[email protected]>
Reviewed-by: Aku Pietikäinen <[email protected]>
2024-07-08 16:48:33 +02:00
Christian Ehrlicher 5a5567ecd1 Add provisioning scripts for Firebird 5.0.0
Add provisioning scripts for Firebird 5.0.0 to be able to compile the
QSql within the CI.

Fixes: QTQAINFRA-6303
Change-Id: I58bf45b0e291700eb1d58158b8cfd37e335d2195
Reviewed-by: Axel Spoerl <[email protected]>
2024-07-06 16:02:17 +00:00
Piotr Wierciński e4f7db1379 wasm: Update Emscripten to 3.1.56
Update Emscripten to 3.1.56 for Qt 6.8 release.

Pick-to: 6.8
Change-Id: Ic5054aa7b00fba1f155824a710b9562d2a8a2f95
Reviewed-by: Toni Saario <[email protected]>
2024-07-05 09:55:42 +02:00
Jukka Jokiniva b9fdfb3fb3 Change msvc packaging targets back to c++17
Packaging targets were accidentally moved to c++20.
Amends bf633f08b7
Amends b4bcf1e6ca

Fixes: QTQAINFRA-6424
Pick-to: 6.8
Change-Id: Iad6f8202329b471733cc1bc8ddf22feb3ffadfb4
Reviewed-by: Oliver Wolff <[email protected]>
Reviewed-by: Simo Fält <[email protected]>
2024-07-04 04:14:44 +00:00
Qt Submodule Update Bot 2d791ce507 Update submodules on 'dev in qt/qt5'
Change-Id: I7bad1bdba063c27beecaba1cf4433f6af687ddec
Reviewed-by: Qt Submodule Update Bot <[email protected]>
2024-07-04 04:14:42 +00:00
Eike Ziller 6120442e7c Qt Creator: Switch to ARM macOS 14
Used for packaging now, too.

Pick-to: 6.8 6.7
Change-Id: I8b9edbff7abcc02a43011e078ec55ff195477dfa
Reviewed-by: David Schulz <[email protected]>
2024-07-03 09:28:29 +00:00
Toni Saario 71d8f797ba Enable test building for VxWorks with qtbase
This enables blocking test building.

Pick-to: 6.7 6.8
Change-Id: I184bd16a1c6a0ec45bfd9ee9b96c478dd2cf7c33
Reviewed-by: Toni Saario <[email protected]>
2024-07-01 07:46:56 +03:00
Liang Qi b0dc1225cb Ubuntu 24.04 arm64: Add documentation targets as non-blocking in CI
build on wayland and test offscreen and wayland

Task-number: QTQAINFRA-6112
Task-number: QTQAINFRA-6308
Change-Id: I31a57794d455316fc98f1d84d3d275fa6e934b8e
Reviewed-by: Topi Reiniö <[email protected]>
2024-06-29 15:24:43 +02:00
Liang Qi 18be2625a0 coin: force qtbase tests for offscreen on linux arm64
Task-number: QTQAINFRA-6112
Task-number: QTBUG-125446
Pick-to: 6.8
Change-Id: Id88e0b7717fdbd86fc001809073c491aaa669d61
Reviewed-by: Tero Heikkinen <[email protected]>
Reviewed-by: Simo Fält <[email protected]>
Reviewed-by: Liang Qi <[email protected]>
2024-06-29 15:24:42 +02:00
Luca Di Sera 6b424efcf1 Do not assume FHS in init-repository and configure
On systems that do not follow the Filesystem Hierarchy Standard, such as
guix, the hardcoded `/bin/pwd` will fail to be found so that the script
will fail.

Use `pwd`, instead, so that the command can be found through the normal
path search mechanism.

Change-Id: I519d535bcaf53119c8800cc5545da9a0e48e677a
Reviewed-by: Alexandru Croitor <[email protected]>
2024-06-28 17:41:38 +02:00
Toni Saario e752c81add Update azure sign tool to 5.0.0
The signtool is dependent on dotnet version. This must be updated
after the dotnet has been updated.

Change-Id: I346acf6dfefc8e70e61ea05a569ebb5cfcf04c85
Reviewed-by: Simo Fält <[email protected]>
2024-06-28 15:12:43 +03:00
Toni Saario cb832944b2 Install azure tools on windows on arm
Installs azure sign tool.

Change-Id: I4748f9fd911582361ff5a416fa8e8b8b0aa48716
Reviewed-by: Simo Fält <[email protected]>
2024-06-28 15:12:42 +03:00
Toni Saario 437e25844a Update and install dotnet on windows on arm
Required on arm for installing azuresigntool.

Change-Id: Ia0b2a4476338d090bc79d6a6bae46d1f09dc8600
Reviewed-by: Tero Heikkinen <[email protected]>
Reviewed-by: Simo Fält <[email protected]>
2024-06-28 15:12:32 +03:00
Luca Di Sera 9975595a5e Update QDoc libclang to 17.0.6
The version variable that is used to define the packages to download was
updated to reflect the new version.

A new case was added for the new "Debian11" on "arm64" package which was
not a provisioned package on older version but is now provided.
As "Debian11" was not currenly loading "libclang.sh", a new script that
performs this process was added to
"coin/provisioning/qtci-linux-Debian-11.6-aarch64".

The newly sourced "libclang.sh" includes
"coin/provisiong/common/unix/common.sourced.sh", which sets up certain
common variables such as the used architecture and the platform id.
When "common.sourced.sh" sets "PROVISION_ARCH", that contains the
current platform architecture, it fails if the platform architecture is
not supported.

For "Debian11" on "arm64", the architecture, as reported by "uname -m"
is "aarch64", which is equivalent to "arm64".
"aarch64" was not handled by the script, so that a platform with that
architecture would result in a fail when sourcing "common.sourced.sh".

To avoid the failure, the case that sets "PROVISIONING_ARCH" to "arm64"
will not trigger when the reported architecture is "aarch64".

The specialized RedHat case was update to work specifically for version
9, to use the new specifically built package for Rhel9.2.

The default case, previously using an "ubuntu20.04" package, was
modified to use a "Rhel8.8" package.
A package for "Ubuntu20.04" is not currently provided anymore as the
platform was removed from CI and the new "22.04" package is not
compatible with all the platforms that would use it.

In particular, the new packages are built on a too new glibc, which will
then fail to link, due to undefined symbols in the produced Clang
libraries, when used on older-glibc platforms such as "OpenSuse15" and
"Rhel8.8".

The "Rhel8.8" package was specifically used as the platform for the
default package as it ships the older glibc, "2.28", of the supported
platforms, which should ensure that it works on the older-version platforms.

The "sha1" variables for cached downloads was updated to reflect the new
packages.

For provisioning on windows, the version variable and the sha1 variables
were updated to reflect the new version and the new packages, respectively.

Pick-to: 6.8 6.7
Task-number: QTBUG-111580
Task-number: QTBUG-121548
Change-Id: Ie7c1a8d8fe9114912d53a87f70ebfa00341a9d8a
Reviewed-by: Paul Wicking <[email protected]>
Reviewed-by: Cristian Adam <[email protected]>
2024-06-28 00:25:30 +02:00
Qt Submodule Update Bot c37f2dc5c9 Update submodules on 'dev in qt/qt5'
Change-Id: Ib9db78c9947a7c7f9cb30d8b08aec85890810fe8
Reviewed-by: Qt Submodule Update Bot <[email protected]>
2024-06-27 22:25:29 +00:00
Tor Arne Vestbø c1485ecb2c coin: Replace bare metal macOS ARM configurations with Tart VMs
Pick-to: 6.8
Change-Id: Idf84ead53ea27eedfa571ee5d7a44b7a496229bb
Reviewed-by: Aku Pietikäinen <[email protected]>
Reviewed-by: Jukka Jokiniva <[email protected]>
2024-06-28 00:25:28 +02:00
Teemu Holappa 89d59a15c2 Fix qtsaferenderer.yaml COIN configuration
Removed missing windows-10_22h2-llvm configuration.

Change-Id: Id39f09901f20fae7692960eb5ac3ff66f1ec2155
Reviewed-by: Toni Saario <[email protected]>
2024-06-26 06:55:04 +00:00
Eike Ziller c872c35cc6 COIN: Fix sccache installation on ARM Macs
Install the ARM sccache binary to fix

/usr/local/sccache/sccache: Bad CPU type in executable

Pick-to: 6.8 6.7
Change-Id: I033a7c8cf88d0d1ad35a4406a5d2a878da8d17a7
Reviewed-by: Toni Saario <[email protected]>
2024-06-25 04:21:33 +00:00
Alexey Edelev 9b5e0b581f Fix the '-submodules' argument to 'BUILD_' argument transformation
Ensure the coma-separated argument is transformed to CMake list
properly.

Amends 7c8bab37bb

Pick-to: 6.8
Task-number: QTBUG-122954
Change-Id: I082ad2c9c964c66feee3a8deff55ae137adafe8b
Reviewed-by: Alexandru Croitor <[email protected]>
2024-06-24 15:38:25 +02:00
Liang Qi fcdce53b89 Provisioning: install pipewire dev packages on Linux
Task-number: QTBUG-121452
Pick-to: 6.8
Change-Id: I5e9087b09f64750135ebea9030073cd1a20c5f46
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-22 09:25:54 +02:00
Timur Pocheptsov c099afdd45 Update provisioning script to build FFmpeg as dynamic libs
Previously, iOS (where we mostly using static linking) was also using
FFmpeg built as static libs, now switch to dynamic libraries, as
it was already done for macOS. Requires changes in cmake file in
qtmultimedia in order to configure with -DQT_DEPLOY_FFMPEG=TRUE.

Pick-to: 6.8
Fixes: QTBUG-120991
Change-Id: I0b014f24db3127697b76c6d1774437faae64a7c8
Reviewed-by: Timur Pocheptsov <[email protected]>
2024-06-21 19:56:22 +02:00
Teemu Holappa 9c5df7a6f5 Fix qtsaferenderer CI configurations
Updated Windows build configurations in qtsafenderer.yaml
and qtsaferenderer-runtime.yaml.

Change-Id: I010d6ffb02e09d1ab604ebc93a39c22b1c9be1b0
Reviewed-by: Toni Saario <[email protected]>
2024-06-21 17:56:20 +00:00
Marianne Yrjänä 9e560e22a4 QNX: Fix typos in QNX toolchain file
Fix CMAKE_SYSTEM_PROCESSOR definition for armv7le. This is needed when
using Windows host to cross-compile Qt binaries for QNX.

Fixes: QTBUG-125450
Pick-to: 6.8 6.7 6.5
Change-Id: I19df2ef9d4cc988f5acf4f09fa46b7014fac80d2
Reviewed-by: Toni Saario <[email protected]>
2024-06-21 17:56:17 +00:00
Elias Toivola ea425ca764 Provisioning: Update MQTT broker
There's a certificate issue in Paho MQTT which should be fixed in
the latest paho.mqtt.testing branch.

Task-number: QTBUG-126364
Change-Id: I1550122939ea8e6172dba005752978fcf3232fcb
Reviewed-by: Jukka Jokiniva <[email protected]>
Reviewed-by: Maurice Kalinowski <[email protected]>
2024-06-21 20:56:15 +03:00
Aku Pietikäinen f63db53d98 Provisioning: update Java 17 to Ubuntu20.04 x64
Pick-to: 6.8
Change-Id: I9eec100e11c00c1d984151b09bc1e4dc29f402c1
Reviewed-by: Toni Saario <[email protected]>
2024-06-20 20:00:34 +00:00
Dominik Holland 5f8279db59 Provisioning: Fix bwrap with apparmor on Ubuntu 24.04 Part 2
Also make sure apparmor parses the new rule after installing it.

Pick-to: 6.8
Change-Id: I25d2e753594fa86be2151e8a8da73b15b31b1584
Reviewed-by: Robert Griebl <[email protected]>
2024-06-20 21:50:11 +02:00
Pavel Dubsky eb8bbfe971 Update FFmpeg version to n7.0
Fixes: QTBUG-124482
Pick-to: 6.8 6.7 6.5
Change-Id: I69727981344d935151f19148960c711b65cb2307
Reviewed-by: Artem Dyomin <[email protected]>
Reviewed-by: Jøger Hansegård <[email protected]>
2024-06-20 04:56:19 +00:00
Alexandru Croitor 1f2fb6312c coin: Add python packages to allow validating Qt generated SBOM files
Add a sbom_requirements.txt file and install it using the
various platform specific pip installations.

Partially restores b87b44168c but
without the wheel cache.

Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I8002898866acbc226ffebb59dcf5b3a58237ea34
Reviewed-by: Toni Saario <[email protected]>
2024-06-20 06:56:17 +02:00
Alexandru Croitor 6ab08cfdc4 coin: Update linux SLES Python to 3.12.3
Pick-to: 6.8
Change-Id: I217feaee4071ff06f6fd16a2f3b2111d87ce1862
Reviewed-by: Aku Pietikäinen <[email protected]>
Reviewed-by: Toni Saario <[email protected]>
Reviewed-by: Tero Heikkinen <[email protected]>
2024-06-20 06:56:14 +02:00
Olli Vuolteenaho eb75583856 Update QtAA maximum supported SDK level
Like regular Android we test QtAA in CI with the maximum and minimum
supported SDK levels - currently 10 and 13. This commit bumps the
maximum level to 14 starting from QtAA 6.8.

Pick-to: 6.8
Task-number: QAA-2410
Change-Id: I8ef645b2c7bb1ee2b1fd20980bad0f593d308df8
Reviewed-by: Assam Boudjelthia <[email protected]>
2024-06-18 17:35:24 +00:00
Simo Fält f9bb6b202a Provisioning: Add retry for disabling Spotlight indexing
Task-number: QTQAINFRA-5996
Pick-to: 6.8
Change-Id: I6c85816f7b490fbb2423cbf7d0efe862056bc001
Reviewed-by: Toni Saario <[email protected]>
2024-06-18 19:24:44 +03:00
Liang Qi 485ada3a53 coin: test gcc-14 for qtbase only
Task-number: QTQAINFRA-6203
Change-Id: Ib0d710825b631e3dfbd0c7fdbd4c7cdf280af6a9
Reviewed-by: Simo Fält <[email protected]>
Reviewed-by: Liang Qi <[email protected]>
Reviewed-by: Tero Heikkinen <[email protected]>
2024-06-18 17:06:54 +02:00
Bartlomiej Moskal a675a87446 Coin: Turn on Dynamically linked FFmpeg for Android
Turn on dynamically linked ffmpeg on Android on all hosts (Linux,
Windows and macOS).

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: Ib3739173bee209ce73e77b75d7b345208da002e4
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:44:33 +02:00
Bartlomiej Moskal b5e6c9e59b Coin: Dynamically linked FFmpeg for Android (on macOS host)
Prepare for turning on dynamically linked FFmpeg on macOS:
  - install binutils (for readelf) on macOS;
  - readelf need to be used with absolute path on macOS. Prepare
    workaround solution for this system in
    fix_ffmpeg_dependencies.sh script;
  - install patchelf on macOS;
  - ensuring compatibility of sed call on Linux and macOS;

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: I810566786de4363b4383f29467c6ca4395f9f668
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:44:26 +02:00
Bartlomiej Moskal 7c96a8225a Coin: Dynamically linked FFmpeg for Android (on Windows host)
Prepare install-ffmpeg.ps1 script for turning on dynamically
linked FFmpeg on Windows.

Script on Windows will use MSYS2 and run same bash script as Linux host.
To make it possible first need to install binutils (for readelf) and
patchelf. As patchelf is not available by pacman, it is compiled and
installed from sources.

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: Ide1e7da82f73b1663a3c5d7657c53057281ebe94
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:44:19 +02:00
Bartlomiej Moskal b6c6812798 Coin: Move fix_ffmpeg_dependencies.sh to shared directory
Move fix_ffmpeg_dependencies.sh script from "linux" to "shared"
directory.

The script will be used on macOS but also on Windows (using MSYS2)

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: If63d5e3ba7562b230cce26c7bfba728a2ae0a382
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:44:11 +02:00
Bartlomiej Moskal 9e0d693caa Coin: Dynamically linked FFmpeg for Android (on Linux host)
Prepare install-ffmpeg-android.sh script for turning on dynamically
linked FFmpeg

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: Id186e546b1b3c9bbb5a84492766411f806f51b4e
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:43:56 +02:00
Bartlomiej Moskal 4f3b057d01 Coin: Extend script for fixing FFmpeg dependencies to stubs
Add an additional parameter to disable the rpath setting.
The rpath update somehow interferes with the ffmpeg libraries fails
with: "java.lang.UnsatisfiedLinkError: dlopen failed: empty/none
DT_HASH/DT_GNU_HASH"

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: Idfe4addacee68edfb0f7ccaac1a19860c539c0e0
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:43:42 +02:00
Bartlomiej Moskal 5cef9d32c5 Coin: Extend script for fixing FFmpeg dependencies to stubs
The fix_ffmpeg_dependency.sh script should also take into account
libraries with a _3 suffix in their names. This suffix will not be
used in the stub name.

Additionally, Android libraries have a suffix specifying the
architecture (e.g. _x86_64 or _arm64-v8a). Add an additional parameter
to the script with stub_sufix.

Pick-to: 6.8
Task-number: QTBUG-122010
Change-Id: Ia844b7b1f73c2d5264384ef26b41a292ea70d749
Reviewed-by: Artem Dyomin <[email protected]>
2024-06-17 13:43:30 +02:00
Artem Dyomin 49b0435e7e Install patchelf on RHEL
Patchelf is needed for fixing FFmpeg dependencies,
the previous CR reveals details.
Patchelf is not available in the standard package manager on RHEL,
let's install it from sources.

Pick-to: 6.8
Change-Id: I724ffed9c48b9811e10de89519d8271e2f82260d
Reviewed-by: Volker Hilsheimer <[email protected]>
2024-06-15 16:59:38 +00:00