diff mbox series

support/testing: test_clang: update to the next LTS kernel (4.19.x)

Message ID 20230524131642.88902-1-romain.naour@smile.fr
State Accepted
Headers show
Series support/testing: test_clang: update to the next LTS kernel (4.19.x) | expand

Commit Message

Romain Naour May 24, 2023, 1:16 p.m. UTC
The kernel 4.16.7 curently used by the test doesn't build with host
bison (GNU Bison 3.7.5) probably due a missing fix [1] in 4.16.x branch.

Since kernel 4.16 is EOL, bump to the next LTS kernel (4.19.x) in order
to ease backport to previous Buildroot releases.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/4114986744

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421

Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
 support/testing/tests/package/test_clang.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arnout Vandecappelle June 3, 2023, 7:21 p.m. UTC | #1
On 24/05/2023 15:16, Romain Naour wrote:
> The kernel 4.16.7 curently used by the test doesn't build with host
> bison (GNU Bison 3.7.5) probably due a missing fix [1] in 4.16.x branch.
> 
> Since kernel 4.16 is EOL, bump to the next LTS kernel (4.19.x) in order
> to ease backport to previous Buildroot releases.
> 
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/4114986744
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>

  Applied to master, thanks.

  We should really create more downloadable kernel and rely on those instead of 
building the kernel during the runtime test. It takes a lot of time with no 
merit. Unfortunately, those are on abo which only Thomas has access to...

  Regards,
  Arnout

> ---
>   support/testing/tests/package/test_clang.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/support/testing/tests/package/test_clang.py b/support/testing/tests/package/test_clang.py
> index df3990c6be..f36faa059a 100644
> --- a/support/testing/tests/package/test_clang.py
> +++ b/support/testing/tests/package/test_clang.py
> @@ -14,7 +14,7 @@ class TestClangCompilerRT(infra.basetest.BRTest):
>           BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
>           BR2_LINUX_KERNEL=y
>           BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7"
> +        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.283"
>           BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
>           BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config"
>           BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
Thomas Petazzoni June 3, 2023, 7:30 p.m. UTC | #2
Hello,

On Sat, 3 Jun 2023 21:21:10 +0200
Arnout Vandecappelle <arnout@mind.be> wrote:

>   We should really create more downloadable kernel and rely on those instead of 
> building the kernel during the runtime test. It takes a lot of time with no 
> merit. Unfortunately, those are on abo which only Thomas has access to...

I will be happy to update those binaries if need be, and also there is
nothing that really prevents from changing the location where those
files are hosted.

Best regards,

Thomas
Peter Korsgaard June 14, 2023, 11:51 a.m. UTC | #3
>>>>> "Romain" == Romain Naour <romain.naour@smile.fr> writes:

 > The kernel 4.16.7 curently used by the test doesn't build with host
 > bison (GNU Bison 3.7.5) probably due a missing fix [1] in 4.16.x branch.

 > Since kernel 4.16 is EOL, bump to the next LTS kernel (4.19.x) in order
 > to ease backport to previous Buildroot releases.

 > Fixes:
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/4114986744

 > [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d59fbbd09d5d6bdf4ea1f0b4090d175e081ff421

 > Signed-off-by: Romain Naour <romain.naour@smile.fr>

Committed to 2023.02.x, thanks.
diff mbox series

Patch

diff --git a/support/testing/tests/package/test_clang.py b/support/testing/tests/package/test_clang.py
index df3990c6be..f36faa059a 100644
--- a/support/testing/tests/package/test_clang.py
+++ b/support/testing/tests/package/test_clang.py
@@ -14,7 +14,7 @@  class TestClangCompilerRT(infra.basetest.BRTest):
         BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
         BR2_LINUX_KERNEL=y
         BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7"
+        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.283"
         BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
         BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config"
         BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y