2022-12-30 09:42:06 |
Po-Hsu Lin |
bug |
|
|
added bug |
2022-12-30 09:42:06 |
Po-Hsu Lin |
attachment added |
|
powerpc-build.log https://bugs.launchpad.net/bugs/2000772/+attachment/5638534/+files/powerpc-build.log |
|
2022-12-30 09:44:14 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu) |
|
2022-12-30 09:44:23 |
Po-Hsu Lin |
nominated for series |
|
Ubuntu Kinetic |
|
2022-12-30 09:44:23 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu Kinetic) |
|
2022-12-30 09:51:59 |
Po-Hsu Lin |
linux (Ubuntu): assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-12-30 09:52:01 |
Po-Hsu Lin |
ubuntu-kernel-tests: assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-12-30 09:52:04 |
Po-Hsu Lin |
ubuntu-kernel-tests: status |
New |
In Progress |
|
2022-12-30 09:52:06 |
Po-Hsu Lin |
linux (Ubuntu Kinetic): assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-12-30 09:52:08 |
Po-Hsu Lin |
linux (Ubuntu): status |
New |
In Progress |
|
2022-12-30 09:52:10 |
Po-Hsu Lin |
linux (Ubuntu Kinetic): status |
New |
In Progress |
|
2022-12-30 10:04:05 |
Po-Hsu Lin |
description |
Issue found with K-5.19.0-28-generic on P9 node baltar
This should not be considered as a regression since ubuntu_kernel_selftests will be blocked by the net test crash before this powerpc tests can be started. This was found by manually running the test.
Test build failed with:
gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"unknown"' -I/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/include -m64 -no-pie cycles_with_mmcr2_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test
In file included from /usr/include/stdio.h:906,
from cycles_with_mmcr2_test.c:6:
In function ‘printf’,
inlined from ‘cycles_with_mmcr2’ at cycles_with_mmcr2_test.c:81:3:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘actual’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cycles_with_mmcr2_test.c: In function ‘cycles_with_mmcr2’:
cycles_with_mmcr2_test.c:25:36: note: ‘actual’ was declared here
25 | uint64_t val, expected[2], actual;
| ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [../../../lib.mk:173: /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test] Error 1
Please find attachment for the complete build log. |
[Impact]
When trying to build powerpc tests from ubuntu_kernel_selftests, it
will fail with:
inlined from ‘cycles_with_mmcr2’ at cycles_with_mmcr2_test.c:81:3:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘actual’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cycles_with_mmcr2_test.c: In function ‘cycles_with_mmcr2’:
cycles_with_mmcr2_test.c:25:36: note: ‘actual’ was declared here
25 | uint64_t val, expected[2], actual;
| ^~~~~~
cc1: all warnings being treated as errors
[Fix]
* ff446cd768 "selftests/powerpc: Avoid GCC 12 uninitialised variable warning"
This patch can be cherry-picked into Kinetic kernel.
[Test]
Apply this patch to the kernel tree and build it with:
sudo make -C linux/tools/testing/selftests TARGETS=powerpc
With this error fixed, test compliation can finish without any issue.
[Where problems could occur]
Change for test case, no impact to acutal function.
[Original Bug Report]
Issue found with K-5.19.0-28-generic on P9 node baltar
This should not be considered as a regression since ubuntu_kernel_selftests will be blocked by the net test crash before this powerpc tests can be started. This was found by manually running the test.
Test build failed with:
gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"unknown"' -I/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/include -m64 -no-pie cycles_with_mmcr2_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test
In file included from /usr/include/stdio.h:906,
from cycles_with_mmcr2_test.c:6:
In function ‘printf’,
inlined from ‘cycles_with_mmcr2’ at cycles_with_mmcr2_test.c:81:3:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘actual’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cycles_with_mmcr2_test.c: In function ‘cycles_with_mmcr2’:
cycles_with_mmcr2_test.c:25:36: note: ‘actual’ was declared here
25 | uint64_t val, expected[2], actual;
| ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [../../../lib.mk:173: /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test] Error 1
Please find attachment for the complete build log. |
|
2023-01-10 08:26:44 |
Stefan Bader |
linux (Ubuntu Kinetic): importance |
Undecided |
Medium |
|
2023-01-30 16:39:30 |
Stefan Bader |
linux (Ubuntu Kinetic): status |
In Progress |
Fix Committed |
|
2023-02-09 22:37:18 |
Ubuntu Kernel Bot |
tags |
5.19 kinetic ppc64el sru-20221114 ubuntu-kernel-selftests |
5.19 kernel-spammed-kinetic-linux kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
|
2023-02-21 04:46:10 |
Po-Hsu Lin |
tags |
5.19 kernel-spammed-kinetic-linux kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
5.19 kernel-spammed-kinetic-linux kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
|
2023-03-01 21:42:36 |
Launchpad Janitor |
linux (Ubuntu Kinetic): status |
Fix Committed |
Fix Released |
|
2023-03-01 21:42:36 |
Launchpad Janitor |
cve linked |
|
2022-20369 |
|
2023-03-01 21:42:36 |
Launchpad Janitor |
cve linked |
|
2022-3545 |
|
2023-03-01 21:42:36 |
Launchpad Janitor |
cve linked |
|
2022-47520 |
|
2023-03-01 21:42:36 |
Launchpad Janitor |
cve linked |
|
2023-0179 |
|
2023-03-01 21:42:36 |
Launchpad Janitor |
cve linked |
|
2023-0461 |
|
2023-03-06 00:03:06 |
Ubuntu Kernel Bot |
tags |
5.19 kernel-spammed-kinetic-linux kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
|
2023-03-06 00:57:16 |
Ubuntu Kernel Bot |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
|
2023-03-06 01:44:30 |
Po-Hsu Lin |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
|
2023-03-16 07:52:07 |
Ubuntu Kernel Bot |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
|
2023-03-16 09:26:03 |
Po-Hsu Lin |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
|
2023-03-16 16:17:33 |
Ubuntu Kernel Bot |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
|
2023-03-16 18:13:55 |
Ubuntu Kernel Bot |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
|
2023-03-17 11:57:18 |
Po-Hsu Lin |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-needed-kinetic |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
|
2023-04-11 18:37:43 |
Ubuntu Kernel Bot |
tags |
5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic |
5.19 kernel-spammed-jammy-linux-nvidia-5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic verification-needed-jammy |
|
2023-05-17 04:15:11 |
Po-Hsu Lin |
tags |
5.19 kernel-spammed-jammy-linux-nvidia-5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-kinetic verification-needed-jammy |
5.19 kernel-spammed-jammy-linux-nvidia-5.19 kernel-spammed-kinetic-linux kernel-spammed-kinetic-linux-allwinner kernel-spammed-kinetic-linux-aws kernel-spammed-kinetic-linux-azure kernel-spammed-kinetic-linux-riscv kernel-spammed-kinetic-linux-starfive kinetic ppc64el sru-20221114 ubuntu-kernel-selftests verification-done-jammy verification-done-kinetic |
|
2023-08-01 07:58:02 |
Po-Hsu Lin |
ubuntu-kernel-tests: status |
In Progress |
Fix Released |
|
2023-08-01 07:58:03 |
Po-Hsu Lin |
linux (Ubuntu): status |
In Progress |
Fix Released |
|