2021-03-03 11:14:30 |
Po-Hsu Lin |
bug |
|
|
added bug |
2021-03-03 11:15:28 |
Po-Hsu Lin |
tags |
|
5.8 groovy kqa-blocker sru-20210222 ubuntu-bpf |
|
2021-03-03 11:18:30 |
Po-Hsu Lin |
attachment added |
|
consoleText.txt https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1917609/+attachment/5472166/+files/consoleText.txt |
|
2021-03-03 16:10:37 |
Po-Hsu Lin |
summary |
ubuntu_bpf failed to build on Groovy |
[Regression] ubuntu_bpf failed to build on Groovy |
|
2021-03-03 16:39:11 |
Po-Hsu Lin |
description |
Issue found on 5.8.0-1024.26-azure / 5.8.0-1022.23-oracle
Test failed to build, I didn't see any meaningful error message, this might need to be double checked.
HDRINST usr/include/asm/fcntl.h
HDRINST usr/include/asm/termbits.h
HDRINST usr/include/asm/errno.h
INSTALL ./usr/include
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
make: *** [Makefile:159: all] Error 1
Please find attachment for the complete test log. |
Issue found on 5.8.0-1024.26-azure / 5.8.0-1022.23-oracle
Test failed to build, I didn't see any meaningful error message, this might need to be double checked.
HDRINST usr/include/asm/fcntl.h
HDRINST usr/include/asm/termbits.h
HDRINST usr/include/asm/errno.h
INSTALL ./usr/include
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
make: *** [Makefile:159: all] Error 1
Please find attachment for the complete test log.
== Process to reproduce this ==
1. git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
2. cd groovy/tools/testing/selftests
3. make TARGETS=bpf
You will see the build failed if it's affected by this.
I think this is affecting the ubuntu_kernel_selftests as well, as the net test would require the bpf test to be built first. |
|
2021-03-04 14:29:50 |
Kleber Sacilotto de Souza |
bug task added |
|
linux (Ubuntu) |
|
2021-03-04 14:30:00 |
Kleber Sacilotto de Souza |
nominated for series |
|
Ubuntu Groovy |
|
2021-03-04 14:30:00 |
Kleber Sacilotto de Souza |
bug task added |
|
linux (Ubuntu Groovy) |
|
2021-03-04 14:30:07 |
Kleber Sacilotto de Souza |
linux (Ubuntu Groovy): status |
New |
Confirmed |
|
2021-03-04 14:30:26 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2021-03-04 16:16:54 |
Kleber Sacilotto de Souza |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2021-03-04 16:17:03 |
Kleber Sacilotto de Souza |
linux (Ubuntu): status |
Confirmed |
Invalid |
|
2021-03-04 17:42:35 |
Kleber Sacilotto de Souza |
description |
Issue found on 5.8.0-1024.26-azure / 5.8.0-1022.23-oracle
Test failed to build, I didn't see any meaningful error message, this might need to be double checked.
HDRINST usr/include/asm/fcntl.h
HDRINST usr/include/asm/termbits.h
HDRINST usr/include/asm/errno.h
INSTALL ./usr/include
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
make: *** [Makefile:159: all] Error 1
Please find attachment for the complete test log.
== Process to reproduce this ==
1. git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
2. cd groovy/tools/testing/selftests
3. make TARGETS=bpf
You will see the build failed if it's affected by this.
I think this is affecting the ubuntu_kernel_selftests as well, as the net test would require the bpf test to be built first. |
[Impact]
Upstream commit d3bec0138bfbe58606fc1d6f57a4cdc1a20218db (bpf: Zero-fill re-used per-cpu map element) was applied to Groovy as part of an upstream stable update. This patch fixes a bpf issue and at the same time adds new selftests to verify these changes. However, the selftests can't be compiled on 5.8 due to missing helper functions that were added only later. The bpf selftest build fails with errors such as:
/usr/bin/ld: /tmp/autopkgtest.IzBxE1/build.8NX/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/map_init.test.o: in function `prog_run_insert_elem':
/tmp/autopkgtest.IzBxE1/build.8NX/src/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/prog_tests/map_init.c:89: undefined reference to `ASSERT_OK'
[Fix]
The proposed fix it to partially revert this commit by removing the selftests parts.
[Testcase]
On a groovy/linux repo:
$ make -C tools/testing/selftests TARGETS=bpf SKIP_TARGETS=
[Where problems could occur]
By removing the selftests we could be introducing a regression with the bpf code change which would be likely unoticed during the tests.
==== Original Description ====
Issue found on 5.8.0-1024.26-azure / 5.8.0-1022.23-oracle
Test failed to build, I didn't see any meaningful error message, this might need to be double checked.
HDRINST usr/include/asm/fcntl.h
HDRINST usr/include/asm/termbits.h
HDRINST usr/include/asm/errno.h
INSTALL ./usr/include
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
make: *** [Makefile:159: all] Error 1
Please find attachment for the complete test log.
== Process to reproduce this ==
1. git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/groovy
2. cd groovy/tools/testing/selftests
3. make TARGETS=bpf
You will see the build failed if it's affected by this.
I think this is affecting the ubuntu_kernel_selftests as well, as the net test would require the bpf test to be built first. |
|
2021-03-04 17:49:56 |
Kleber Sacilotto de Souza |
linux (Ubuntu Groovy): status |
Confirmed |
In Progress |
|
2021-03-05 08:21:11 |
Stefan Bader |
linux (Ubuntu Groovy): importance |
Undecided |
Medium |
|
2021-03-06 01:55:03 |
Kelsey Steele |
linux (Ubuntu Groovy): status |
In Progress |
Fix Committed |
|
2021-03-08 13:05:20 |
Stefan Bader |
tags |
5.8 groovy kqa-blocker sru-20210222 ubuntu-bpf |
5.8 groovy sru-20210222 ubuntu-bpf |
|
2021-03-26 04:50:58 |
Ubuntu Kernel Bot |
tags |
5.8 groovy sru-20210222 ubuntu-bpf |
5.8 groovy sru-20210222 ubuntu-bpf verification-needed-groovy |
|
2021-04-09 11:05:37 |
Po-Hsu Lin |
attachment added |
|
ubuntu-bpf-build.log https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1917609/+attachment/5486055/+files/ubuntu-bpf-build.log |
|
2021-04-09 13:49:24 |
Marcelo Cerri |
tags |
5.8 groovy sru-20210222 ubuntu-bpf verification-needed-groovy |
5.8 azure groovy sru-20210222 sru-20210315 ubuntu-bpf verification-needed-groovy |
|
2021-04-12 04:23:36 |
Po-Hsu Lin |
ubuntu-kernel-tests: assignee |
|
Po-Hsu Lin (cypressyew) |
|
2021-04-12 04:23:38 |
Po-Hsu Lin |
ubuntu-kernel-tests: status |
New |
In Progress |
|
2021-04-12 04:37:22 |
Po-Hsu Lin |
ubuntu-kernel-tests: assignee |
Po-Hsu Lin (cypressyew) |
|
|
2021-04-12 04:57:41 |
Po-Hsu Lin |
tags |
5.8 azure groovy sru-20210222 sru-20210315 ubuntu-bpf verification-needed-groovy |
5.8 azure groovy sru-20210222 sru-20210315 ubuntu-bpf verification-done-groovy |
|
2021-04-12 14:17:01 |
Launchpad Janitor |
linux (Ubuntu Groovy): status |
Fix Committed |
Fix Released |
|
2021-04-12 14:17:01 |
Launchpad Janitor |
cve linked |
|
2021-20239 |
|
2021-04-12 14:17:01 |
Launchpad Janitor |
cve linked |
|
2021-3347 |
|
2021-04-12 14:17:01 |
Launchpad Janitor |
cve linked |
|
2021-3348 |
|
2021-04-14 05:45:03 |
Po-Hsu Lin |
ubuntu-kernel-tests: assignee |
|
Ian (ian-may) |
|
2021-04-14 05:45:06 |
Po-Hsu Lin |
ubuntu-kernel-tests: status |
In Progress |
Fix Released |
|