diff --git a/support/misc/gitlab-ci.yml.in b/support/misc/gitlab-ci.yml.in index ada36d0d60..81c380a4ed 100644 --- a/support/misc/gitlab-ci.yml.in +++ b/support/misc/gitlab-ci.yml.in @@ -5,6 +5,30 @@ stages: before_script: - git config --global --add safe.directory ${CI_PROJECT_DIR} +.runner-small: + tags: + - saas-linux-small-amd64 + +.runner-medium: + tags: + - saas-linux-medium-amd64 + +.runner-large: + tags: + - saas-linux-large-amd64 + +.runner-xlarge: + tags: + - saas-linux-xlarge-amd64 + +.runner-2xlarge: + tags: + - saas-linux-2xlarge-amd64 + +.runner-buildroot-runner-only: + tags: + - buildroot-runner + .check-check-package_base: stage: test script: diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml index be2b8f0fe9..2a8c9be5f5 100755 --- a/support/scripts/generate-gitlab-ci-yml +++ b/support/scripts/generate-gitlab-ci-yml @@ -24,7 +24,7 @@ _EOF_ gen_tests() { local -a basics defconfigs runtimes local do_basics do_defconfigs do_runtime do_testpkg - local defconfigs_ext cfg tst + local defconfigs_ext cfg runner tst basics=( check-package check-symbol DEVELOPERS package symbol ) @@ -133,7 +133,15 @@ gen_tests() { if ${do_runtime:-false}; then printf 'runtime_test_download: { extends: .runtime_test_download }\n' - printf '%s: { extends: .runtime_test_base }\n' "${runtimes[@]}" + for test in "${runtimes[@]}"; do + test_file=$(echo "${test}" | tr '.' '/' | sed 's%\(.*/test_[^/]*\)/.*test_run$%support/testing/\1.py%g') + test_name=$(echo "${test}" | sed 's/.test_run$//g' | sed 's/.*\.//') + runner=$(grep -w -B 1 "${test_name}" "${test_file}" | head -1 | sed -n 's/^.*# gitlab-runner: \(.*\)/\1/p' ) || true + if [ -z "${runner}" ]; then + runner="small" + fi + printf '%s: { extends: [ .runtime_test_base, .runner-%s ]}\n' "${test}" "${runner}" + done fi if [ -n "${do_testpkg}" ]; then diff --git a/support/testing/tests/boot/test_edk2.py b/support/testing/tests/boot/test_edk2.py index 19c6d9c482..3d8b65ad31 100644 --- a/support/testing/tests/boot/test_edk2.py +++ b/support/testing/tests/boot/test_edk2.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestEdk2(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/boot/test_grub.py b/support/testing/tests/boot/test_grub.py index 7ce7066875..a9696be97e 100644 --- a/support/testing/tests/boot/test_grub.py +++ b/support/testing/tests/boot/test_grub.py @@ -32,6 +32,7 @@ class TestGrubi386BIOS(infra.basetest.BRTest): self.emulator.login() +# gitlab-runner: large class TestGrubi386EFI(infra.basetest.BRTest): config = \ """ @@ -82,6 +83,7 @@ class TestGrubi386EFI(infra.basetest.BRTest): self.assertRunOk(cmd) +# gitlab-runner: large class TestGrubX8664EFI(infra.basetest.BRTest): config = \ """ @@ -133,6 +135,7 @@ class TestGrubX8664EFI(infra.basetest.BRTest): self.assertRunOk(cmd) +# gitlab-runner: large class TestGrubAArch64EFI(infra.basetest.BRTest): config = \ """ @@ -174,6 +177,7 @@ class TestGrubAArch64EFI(infra.basetest.BRTest): self.assertRunOk(cmd) +# gitlab-runner: large class TestGrubRiscV64EFI(infra.basetest.BRTest): scripts = [ "board/qemu/post-image.sh", diff --git a/support/testing/tests/init/test_systemd.py b/support/testing/tests/init/test_systemd.py index 05a65223b3..3e47c7cdfc 100644 --- a/support/testing/tests/init/test_systemd.py +++ b/support/testing/tests/init/test_systemd.py @@ -46,6 +46,7 @@ class InitSystemSystemdBase(InitSystemBase): self.check_network("eth0") +# gitlab-runner: medium class TestInitSystemSystemdRoNetworkd(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ """ @@ -58,6 +59,7 @@ class TestInitSystemSystemdRoNetworkd(InitSystemSystemdBase): self.check_systemd("squashfs") +# gitlab-runner: medium class TestInitSystemSystemdRwNetworkd(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ """ @@ -69,6 +71,7 @@ class TestInitSystemSystemdRwNetworkd(InitSystemSystemdBase): self.check_systemd("ext2") +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdown(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ """ @@ -82,6 +85,7 @@ class TestInitSystemSystemdRoIfupdown(InitSystemSystemdBase): self.check_systemd("squashfs") +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownDbusbroker(TestInitSystemSystemdRoIfupdown): config = TestInitSystemSystemdRoIfupdown.config + \ """ @@ -98,6 +102,7 @@ class TestInitSystemSystemdRoIfupdownDbusbroker(TestInitSystemSystemdRoIfupdown) self.assertEqual(len(out), 1) +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownDbusbrokerDbus(TestInitSystemSystemdRoIfupdownDbusbroker): config = TestInitSystemSystemdRoIfupdownDbusbroker.config + \ """ @@ -105,6 +110,7 @@ class TestInitSystemSystemdRoIfupdownDbusbrokerDbus(TestInitSystemSystemdRoIfupd """ +# gitlab-runner: medium class TestInitSystemSystemdRwIfupdown(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ """ @@ -117,6 +123,7 @@ class TestInitSystemSystemdRwIfupdown(InitSystemSystemdBase): self.check_systemd("ext2") +# gitlab-runner: medium class TestInitSystemSystemdRwIfupdownDbusbroker(TestInitSystemSystemdRwIfupdown): config = TestInitSystemSystemdRwIfupdown.config + \ """ @@ -133,6 +140,7 @@ class TestInitSystemSystemdRwIfupdownDbusbroker(TestInitSystemSystemdRwIfupdown) self.assertEqual(len(out), 1) +# gitlab-runner: medium class TestInitSystemSystemdRwIfupdownDbusbrokerDbus(TestInitSystemSystemdRwIfupdownDbusbroker): config = TestInitSystemSystemdRwIfupdownDbusbroker.config + \ """ @@ -140,6 +148,7 @@ class TestInitSystemSystemdRwIfupdownDbusbrokerDbus(TestInitSystemSystemdRwIfupd """ +# gitlab-runner: medium class TestInitSystemSystemdRoFull(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ """ @@ -169,6 +178,7 @@ class TestInitSystemSystemdRoFull(InitSystemSystemdBase): self.check_systemd("squashfs") +# gitlab-runner: medium class TestInitSystemSystemdRwFull(InitSystemSystemdBase): config = InitSystemSystemdBase.config + \ """ @@ -237,6 +247,7 @@ class InitSystemSystemdBaseFactory(): self.assertEqual(out[0], "foobar") +# gitlab-runner: medium class TestInitSystemSystemdRoNetworkdFactory( InitSystemSystemdBaseFactory, TestInitSystemSystemdRoNetworkd, @@ -245,6 +256,7 @@ class TestInitSystemSystemdRoNetworkdFactory( TestInitSystemSystemdRoNetworkd.config +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownFactory( InitSystemSystemdBaseFactory, TestInitSystemSystemdRoIfupdown, @@ -253,6 +265,7 @@ class TestInitSystemSystemdRoIfupdownFactory( TestInitSystemSystemdRoIfupdown.config +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownDbusbrokerFactory( InitSystemSystemdBaseFactory, TestInitSystemSystemdRoIfupdownDbusbroker, @@ -261,6 +274,7 @@ class TestInitSystemSystemdRoIfupdownDbusbrokerFactory( TestInitSystemSystemdRoIfupdownDbusbroker.config +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownDbusbrokerDbusFactory( InitSystemSystemdBaseFactory, TestInitSystemSystemdRoIfupdownDbusbrokerDbus, @@ -269,6 +283,7 @@ class TestInitSystemSystemdRoIfupdownDbusbrokerDbusFactory( TestInitSystemSystemdRoIfupdownDbusbrokerDbus.config +# gitlab-runner: medium class TestInitSystemSystemdRoFullFactory( InitSystemSystemdBaseFactory, TestInitSystemSystemdRoFull, @@ -328,6 +343,7 @@ class InitSystemSystemdBaseOverlayfs(): self.assertEqual(out[0], "foobar") +# gitlab-runner: medium class TestInitSystemSystemdRoNetworkdOverlayfs( InitSystemSystemdBaseOverlayfs, TestInitSystemSystemdRoNetworkd, @@ -336,6 +352,7 @@ class TestInitSystemSystemdRoNetworkdOverlayfs( TestInitSystemSystemdRoNetworkd.config +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownOverlayfs( InitSystemSystemdBaseOverlayfs, TestInitSystemSystemdRoIfupdown, @@ -344,6 +361,7 @@ class TestInitSystemSystemdRoIfupdownOverlayfs( TestInitSystemSystemdRoIfupdown.config +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownDbusbrokerOverlayfs( InitSystemSystemdBaseOverlayfs, TestInitSystemSystemdRoIfupdownDbusbroker, @@ -352,6 +370,7 @@ class TestInitSystemSystemdRoIfupdownDbusbrokerOverlayfs( TestInitSystemSystemdRoIfupdownDbusbroker.config +# gitlab-runner: medium class TestInitSystemSystemdRoIfupdownDbusbrokerDbusOverlayfs( InitSystemSystemdBaseOverlayfs, TestInitSystemSystemdRoIfupdownDbusbrokerDbus, @@ -360,6 +379,7 @@ class TestInitSystemSystemdRoIfupdownDbusbrokerDbusOverlayfs( TestInitSystemSystemdRoIfupdownDbusbrokerDbus.config +# gitlab-runner: medium class TestInitSystemSystemdRoFullOverlayfs( InitSystemSystemdBaseOverlayfs, TestInitSystemSystemdRoFull, @@ -368,6 +388,7 @@ class TestInitSystemSystemdRoFullOverlayfs( TestInitSystemSystemdRoFull.config +# gitlab-runner: medium class InitSystemSystemdBaseOverlayfsVarBacking(InitSystemBase): @classmethod def gen_config(cls, overlaydir: str) -> str: @@ -382,6 +403,7 @@ class InitSystemSystemdBaseOverlayfsVarBacking(InitSystemBase): self.assertRunOk("grep '^other-var-backing-store /run/buildroot/mounts/var tmpfs' /proc/mounts") +# gitlab-runner: medium class TestInitSystemSystemdRoFullOverlayfsVarBackingMountUnit( TestInitSystemSystemdRoFullOverlayfs, InitSystemSystemdBaseOverlayfsVarBacking, @@ -395,6 +417,7 @@ class TestInitSystemSystemdRoFullOverlayfsVarBackingMountUnit( self.check_var_mounted() +# gitlab-runner: medium class TestInitSystemSystemdRoFullOverlayfsVarBackingFstab( TestInitSystemSystemdRoFullOverlayfs, InitSystemSystemdBaseOverlayfsVarBacking, diff --git a/support/testing/tests/package/test_bcc.py b/support/testing/tests/package/test_bcc.py index 51f175a5b4..b98c37077d 100644 --- a/support/testing/tests/package/test_bcc.py +++ b/support/testing/tests/package/test_bcc.py @@ -4,6 +4,7 @@ import time import infra.basetest +# gitlab-runner: 2xlarge class TestBcc(infra.basetest.BRTest): # This test is using a Kernel >= 5.2, so it will use # CONFIG_IKHEADERS. Those Kernel headers are unpacked from diff --git a/support/testing/tests/package/test_bitcoin.py b/support/testing/tests/package/test_bitcoin.py index 1f00345a12..2cf8ad0be9 100644 --- a/support/testing/tests/package/test_bitcoin.py +++ b/support/testing/tests/package/test_bitcoin.py @@ -4,6 +4,7 @@ import time import infra.basetest +# gitlab-runner: medium class TestBitcoin(infra.basetest.BRTest): # infra.basetest.BASIC_TOOLCHAIN_CONFIG cannot be used as it does # not include BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS diff --git a/support/testing/tests/package/test_clang.py b/support/testing/tests/package/test_clang.py index f36faa059a..123c175924 100644 --- a/support/testing/tests/package/test_clang.py +++ b/support/testing/tests/package/test_clang.py @@ -5,6 +5,7 @@ import infra.basetest FUZZ_TIMEOUT = 120 +# gitlab-runner: 2xlarge class TestClangCompilerRT(infra.basetest.BRTest): br2_external = [infra.filepath("tests/package/br2-external/clang-compiler-rt")] config = \ diff --git a/support/testing/tests/package/test_docker_compose.py b/support/testing/tests/package/test_docker_compose.py index a96c9d1481..56c701011a 100644 --- a/support/testing/tests/package/test_docker_compose.py +++ b/support/testing/tests/package/test_docker_compose.py @@ -72,11 +72,13 @@ class BaseTestDockerCompose(infra.basetest.BRTest): self.python_docker_test() +# gitlab-runner: large class TestDockerComposeRunc(BaseTestDockerCompose): def test_run(self): self.do_test() +# gitlab-runner: large class TestDockerComposeCrun(BaseTestDockerCompose): config = BaseTestDockerCompose.config + """ BR2_PACKAGE_CRUN=y diff --git a/support/testing/tests/package/test_dosfstools.py b/support/testing/tests/package/test_dosfstools.py index f32ff81c01..a63dbad38f 100644 --- a/support/testing/tests/package/test_dosfstools.py +++ b/support/testing/tests/package/test_dosfstools.py @@ -4,6 +4,7 @@ import subprocess import infra.basetest +# gitlab-runner: large class TestDosFsTools(infra.basetest.BRTest): # This test needs a Kernel with vfat and NLS support. The vfat # filesystem also needs character set conversion libraries, since diff --git a/support/testing/tests/package/test_firewalld.py b/support/testing/tests/package/test_firewalld.py index 1093873b38..9a1bd41f62 100644 --- a/support/testing/tests/package/test_firewalld.py +++ b/support/testing/tests/package/test_firewalld.py @@ -4,6 +4,7 @@ import time import infra.basetest +# gitlab-runner: large class TestFirewalldSystemd(infra.basetest.BRTest): """Build the kernel as firewalld requires several the nftable options.""" @@ -62,6 +63,7 @@ class TestFirewalldSystemd(infra.basetest.BRTest): self.assertEqual(exit_code, 0) +# gitlab-runner: large class TestFirewalldSysVInit(infra.basetest.BRTest): """Build the kernel as firewalld requires several nftable options.""" diff --git a/support/testing/tests/package/test_fluidsynth.py b/support/testing/tests/package/test_fluidsynth.py index 20d4da0c50..98140235bd 100644 --- a/support/testing/tests/package/test_fluidsynth.py +++ b/support/testing/tests/package/test_fluidsynth.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: medium class TestFluidsynth(infra.basetest.BRTest): # infra.basetest.BASIC_TOOLCHAIN_CONFIG cannot be used as it is # armv5 and based on qemu versatilepb which is limited to 256MB of diff --git a/support/testing/tests/package/test_flutter.py b/support/testing/tests/package/test_flutter.py index e359a472ef..b6572ed3cc 100644 --- a/support/testing/tests/package/test_flutter.py +++ b/support/testing/tests/package/test_flutter.py @@ -5,6 +5,7 @@ import infra.basetest from ..graphics_base import GraphicsBase +# gitlab-runner: xlarge class TestFlutter(infra.basetest.BRTest, GraphicsBase): config = f""" BR2_aarch64=y diff --git a/support/testing/tests/package/test_fwts.py b/support/testing/tests/package/test_fwts.py index e33adcaea4..2958994dbc 100644 --- a/support/testing/tests/package/test_fwts.py +++ b/support/testing/tests/package/test_fwts.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestFwts(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/package/test_glslsandbox_player.py b/support/testing/tests/package/test_glslsandbox_player.py index 3b0dd60395..29aec829b6 100644 --- a/support/testing/tests/package/test_glslsandbox_player.py +++ b/support/testing/tests/package/test_glslsandbox_player.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: xlarge class TestGlslsandboxPlayer(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/package/test_glxinfo.py b/support/testing/tests/package/test_glxinfo.py index 3ccbdca8d9..12a6242631 100644 --- a/support/testing/tests/package/test_glxinfo.py +++ b/support/testing/tests/package/test_glxinfo.py @@ -5,6 +5,7 @@ import infra.basetest GLXINFO_TIMEOUT = 120 +# gitlab-runner: large class TestGlxinfo(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/package/test_gnuradio.py b/support/testing/tests/package/test_gnuradio.py index 1fc0479d21..9b8ab2f558 100644 --- a/support/testing/tests/package/test_gnuradio.py +++ b/support/testing/tests/package/test_gnuradio.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestGnuradio(infra.basetest.BRTest): # infra.basetest.BASIC_TOOLCHAIN_CONFIG cannot be used as it does # not include: BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS diff --git a/support/testing/tests/package/test_gstreamer1.py b/support/testing/tests/package/test_gstreamer1.py index 82829dab98..3b2899b9fe 100644 --- a/support/testing/tests/package/test_gstreamer1.py +++ b/support/testing/tests/package/test_gstreamer1.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: medium class TestGstreamer1(infra.basetest.BRTest): # This test creates a full, yet simple, Gstreamer pipeline which # encodes/decodes a video, using only plugins from Base and Good diff --git a/support/testing/tests/package/test_kmscube.py b/support/testing/tests/package/test_kmscube.py index 0ddeb67939..c5ca329e59 100644 --- a/support/testing/tests/package/test_kmscube.py +++ b/support/testing/tests/package/test_kmscube.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: xlarge class TestKmsCube(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/package/test_libcamera.py b/support/testing/tests/package/test_libcamera.py index 91df427b6f..4b96528bea 100644 --- a/support/testing/tests/package/test_libcamera.py +++ b/support/testing/tests/package/test_libcamera.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: medium class TestLibCamera(infra.basetest.BRTest): # A specific configuration is needed for testing libcamera: # a kernel config fragment enables v4l2 vimc driver. diff --git a/support/testing/tests/package/test_mender.py b/support/testing/tests/package/test_mender.py index 0c83c5644e..14440c9527 100644 --- a/support/testing/tests/package/test_mender.py +++ b/support/testing/tests/package/test_mender.py @@ -57,6 +57,7 @@ class TestMenderRO(TestMenderInfra): self.run_mender_test() +# gitlab-runner: large class TestMenderSystemd(TestMenderInfra): config = \ """ diff --git a/support/testing/tests/package/test_nodejs.py b/support/testing/tests/package/test_nodejs.py index 2884529c6e..0e679a0ddd 100644 --- a/support/testing/tests/package/test_nodejs.py +++ b/support/testing/tests/package/test_nodejs.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: 2xlarge class TestNodeJSBasic(infra.basetest.BRTest): config = \ """ @@ -28,6 +29,7 @@ class TestNodeJSBasic(infra.basetest.BRTest): self.assertRunOk("node sample_nodejs_basic.js") +# gitlab-runner: large class TestNodeJSModuleHostBin(infra.basetest.BRTest): config = \ """ @@ -55,6 +57,7 @@ class TestNodeJSModuleHostBin(infra.basetest.BRTest): self.assertRunOk("node sample_nodejs_module.js") +# gitlab-runner: 2xlarge class TestNodeJSModuleHostSrc(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/package/test_openblas.py b/support/testing/tests/package/test_openblas.py index 9cfe08ef2c..edfd08c55c 100644 --- a/support/testing/tests/package/test_openblas.py +++ b/support/testing/tests/package/test_openblas.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestOpenBLAS(infra.basetest.BRTest): config = \ """ diff --git a/support/testing/tests/package/test_openjdk.py b/support/testing/tests/package/test_openjdk.py index 26b7f9ee92..bd13825cae 100644 --- a/support/testing/tests/package/test_openjdk.py +++ b/support/testing/tests/package/test_openjdk.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestOpenJdk(infra.basetest.BRTest): br2_external = [infra.filepath("tests/package/br2-external/openjdk")] config = \ diff --git a/support/testing/tests/package/test_perl_dbd_mysql.py b/support/testing/tests/package/test_perl_dbd_mysql.py index 93551b420f..b9dfd97347 100644 --- a/support/testing/tests/package/test_perl_dbd_mysql.py +++ b/support/testing/tests/package/test_perl_dbd_mysql.py @@ -2,6 +2,7 @@ from tests.package.test_perl import TestPerlBase import os +# gitlab-runner: xlarge class TestPerlDBDmysql(TestPerlBase): """ package: diff --git a/support/testing/tests/package/test_python_pyqt5.py b/support/testing/tests/package/test_python_pyqt5.py index 5f1952b559..d5b67ad9b5 100644 --- a/support/testing/tests/package/test_python_pyqt5.py +++ b/support/testing/tests/package/test_python_pyqt5.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestPythonPyQt5(infra.basetest.BRTest): # We use a specific configuration for: # - using Aarch64, to have more than 256MB memory, diff --git a/support/testing/tests/package/test_python_scipy.py b/support/testing/tests/package/test_python_scipy.py index 608a3f6e87..af7aa8f0c0 100644 --- a/support/testing/tests/package/test_python_scipy.py +++ b/support/testing/tests/package/test_python_scipy.py @@ -3,6 +3,7 @@ import os from tests.package.test_python import TestPythonPackageBase +# gitlab-runner: large class TestPythonPy3SciPy(TestPythonPackageBase): __test__ = True # Need to use a different toolchain than the default due to diff --git a/support/testing/tests/package/test_rust.py b/support/testing/tests/package/test_rust.py index 763125ca20..5602aee3e7 100644 --- a/support/testing/tests/package/test_rust.py +++ b/support/testing/tests/package/test_rust.py @@ -35,6 +35,7 @@ class TestRustBin(TestRustBase): self.assertRunOk("rg Buildroot /etc/issue") +# gitlab-runner: 2xlarge class TestRust(TestRustBase): config = \ """ diff --git a/support/testing/tests/package/test_uboot_openssl_pkgconfig.py b/support/testing/tests/package/test_uboot_openssl_pkgconfig.py index 55a45f44fc..6d6be9fa7b 100644 --- a/support/testing/tests/package/test_uboot_openssl_pkgconfig.py +++ b/support/testing/tests/package/test_uboot_openssl_pkgconfig.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestUbootOpensslPkgConfig(infra.basetest.BRTest): config = infra.basetest.MINIMAL_CONFIG + \ """ diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py index 43b5240b2d..566812ef8d 100644 --- a/support/testing/tests/package/test_weston.py +++ b/support/testing/tests/package/test_weston.py @@ -5,6 +5,7 @@ import infra.basetest from ..graphics_base import GraphicsBase +# gitlab-runner: large class TestWeston(infra.basetest.BRTest, GraphicsBase): config = \ """ diff --git a/support/testing/tests/package/test_wine.py b/support/testing/tests/package/test_wine.py index 8c7b80f522..77f233fef4 100644 --- a/support/testing/tests/package/test_wine.py +++ b/support/testing/tests/package/test_wine.py @@ -3,6 +3,7 @@ import os import infra.basetest +# gitlab-runner: large class TestWine(infra.basetest.BRTest): # Wine depends on i386 architecture. The pre-build runtime test # Kernel (for armv5) cannot be used. The config also uses a ext4 diff --git a/support/testing/tests/package/test_xen.py b/support/testing/tests/package/test_xen.py index 881327b9b9..3cdcfc4213 100644 --- a/support/testing/tests/package/test_xen.py +++ b/support/testing/tests/package/test_xen.py @@ -89,6 +89,7 @@ class TestXenBase(infra.basetest.BRTest): self.assertNumVM(2) +# gitlab-runner: large class TestXenAarch64(TestXenBase): # Test Xen on 64b Arm. # Boot flow: Qemu Devicetree -> U-Boot -> Xen UEFI -> Linux @@ -127,6 +128,7 @@ class TestXenAarch64(TestXenBase): self.run_xen_test(arch="aarch64", options=qemu_opts) +# gitlab-runner: large class TestXenArmv7(TestXenBase): # Test Xen on 32b Arm v7. # Boot flow: Qemu Devicetree -> U-Boot -> Xen -> Linux diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py index c218cc36a8..09545434a2 100644 --- a/support/testing/tests/package/test_zfs.py +++ b/support/testing/tests/package/test_zfs.py @@ -63,6 +63,7 @@ class TestZfsBase(infra.basetest.BRTest): self.assertRunOk(cmd, timeout=self.timeout) +# gitlab-runner: medium class TestZfsGlibc(TestZfsBase): config = TestZfsBase.config + \ """ @@ -73,6 +74,7 @@ class TestZfsGlibc(TestZfsBase): TestZfsBase.base_test_run(self) +# gitlab-runner: large class TestZfsUclibc(TestZfsBase): # The Bootling aarch64 uclibc stable 2025.08-1 needs to be # rebuild with uClibc-ng 1.0.55. @@ -92,6 +94,7 @@ class TestZfsUclibc(TestZfsBase): TestZfsBase.base_test_run(self) +# gitlab-runner: medium class TestZfsMusl(TestZfsBase): config = TestZfsBase.config + \ """ diff --git a/support/testing/tests/toolchain/test_aarch64_64k.py b/support/testing/tests/toolchain/test_aarch64_64k.py index c038e9960f..82dc161634 100644 --- a/support/testing/tests/toolchain/test_aarch64_64k.py +++ b/support/testing/tests/toolchain/test_aarch64_64k.py @@ -42,6 +42,7 @@ class TestAarch64Pages64kBase(infra.basetest.BRTest): self.assertEqual(2 ** order * 64 * 1024, size) +# gitlab-runner: large class TestAarch64Pages64kGlibc(TestAarch64Pages64kBase): __test__ = True config = TestAarch64Pages64kBase.config + \ @@ -50,6 +51,7 @@ class TestAarch64Pages64kGlibc(TestAarch64Pages64kBase): """ +# gitlab-runner: large class TestAarch64Pages64kuClibc(TestAarch64Pages64kBase): __test__ = True config = TestAarch64Pages64kBase.config + \ @@ -58,6 +60,7 @@ class TestAarch64Pages64kuClibc(TestAarch64Pages64kBase): """ +# gitlab-runner: large class TestAarch64Pages64kMusl(TestAarch64Pages64kBase): __test__ = True config = TestAarch64Pages64kBase.config + \